Notification workflow activity The Notification activity sends an email or SMS message to specified users or groups. Input variables Table 1. Notification activity input variables Field Description To The users who will be recipients of the email. To (groups) The members of the groups that will be recipients of the email. Advanced If selected, the script in the To (script) field is called to specify additional recipients of the email. To (script) If Advanced is selected, this script is called and should set the variable answer to a comma-separated list of user or group sys_ids that you want to add as recipients of the email. Message Subject The subject line of the email. Message The email body that is sent. To include the value of a field in the message body, place the cursor at the point in the text where you want the field's value inserted. Then click the + icon next to Fields and select the field you want. States The activity state tells the workflow engine what to do with the activity. Table 2. Notification activity states Field Description Executing The workflow engine knows to start the run function of the activity. Finished The activity finished running. See the result value for the outcome of the activity. Cancelled This activity, or the workflow that contains this activity, was canceled.