Email Trigger
Including this trigger will provide an email notification for the step immediately following. If no parameters are added, the following behavior will result:
- if the step immediately following this trigger is a transition step, the trigger will send an email to the owner (either a single user or a group of users) of that transition step.
- if there is not a transition step following the trigger execution step, the trigger will notify the owner of the workflow, because a system step or absence of a next step will not provide email information to the trigger.
Implementation
Declaration
Usage
Parameters (Optional)
Although not required, four optional parameters may be used, which will change the default behavior described above:
Email Address Parameter
This is an optional parameter inside the email trigger that allows you to specify non-system email addresses to be notified.
To specify who should receive notifications, the following parameter should be added to the email trigger with the list of emails comma delimited:
Inside the email trigger it will look like this:
Recipient Users Parameter
This is an optional parameter inside the email trigger that allows you to specify system users to be notified.
To specify who should receive notifications, the following parameter should be added to the email trigger with the list of emails comma delimited:
Recipient Groups Parameter
This is an optional parameter inside the email trigger that allows you to specify system groups to be notified.
To specify who should receive notifications, the following parameter should be added to the email trigger with the list of emails comma delimited:
Mode Parameter
This parameter determines when a notification should be sent. If the value is "notify", then the user will receive a notification when a workflow has been assigned to him/her. If the value is "completed", then the user will receive a notification when the workflow has been completed. If the mode is not specified, the default is "notify".