Groovy script examples# The following Groovy scripts are examples and a starting point for your own scripts. Attribute change scripts Changing a list value Changing a date Enabling manager changes by status Requiring a comment Suggesting the average processing time Parameter scripts Removing e-mail attachments Changing the e-mail text Rejecting e-mails by sender address Rejecting e-mails by sender name Rejecting e-mails by text Rejecting e-mails by subject Workflow activity scripts Adding a comment Assigning groups by workspace Adding watchers by role More examples Workflow guard scripts Validating a checkbox attribute Checking whether the predecessor is done