A Notification activity in a workflow is used to subscribe recipients to the notifications of the following events:
-
Executing this activity: This event occurs upon running the Notification activity. When configured to notify of this event, the activity creates and instantly sends an email message about initiating the Notification activity. Notification of this event is normally intended to inform that the workflow initiation process has reached the Notification activity.
-
Workflow completed successfully: When configured to notify of this event, the activity creates a message to be sent upon workflow completion. When the workflow is completed, Active Roles will send that message if no considerable errors occurred during the running of the workflow.
-
Workflow encountered an error: When configured to notify of this event, the activity creates a message to be sent upon workflow completion. When the workflow is completed, Active Roles will send that message if some errors occurred during the running of the workflow.
-
Operation performed: When configured to notify of this event, the activity creates a message to be sent upon workflow completion. When the workflow is completed, Active Roles will send that message if the operation that started the workflow is successfully performed.
The configuration of a Notification activity specifies the notification event and recipients. When run by the workflow, the Notification activity prepares a notification message appropriate to the specified event. Active Roles retains the message prepared by the activity, and sends the message to the specified recipients once that event occurs. The configurable settings of a Notification activity are similar to the notification settings of an Approval activity.