Basic Email Notification
You can use the System_Mail_Send Process Definition to create a basic email-based notification setup. This topic explains the concept with an example.
Note: Basic email notification is useful for one-off use cases, such as checking the output of a single Process. For more comprehensive email notification, consider using the Active Monitoring Module.
Creating a Basic Email Alerting Scenario
- Navigate to Definitions > Chains.
- Click
.
- On the Chain tab, enter the name
BasicAlert
for the Chain. - On the Chain tab, choose Add Step from the context menu of the Chain.
- Select the default Chain Process and choose System_Info from the Process Definition dropdown list.
- Add a second step after the first.
- Select the second Chain Process and choose System_Mail_Send from the Process Definition dropdown list.
- To display the Default status handlers section, select the Chain icon, then deselect Request restart by default if it is selected.
- For the statuses Error, Canceled and Killed, select Goto> Go to Step 2.
- For the status Completed, select Go to > Go to End of Chain > Mark chain Completed.
- Select Step 2.
- For the status Completed, select Go to > Go to End of Chain > Mark chain Error.
- Enter
An error occurred in the chain
in the Message field, and123
into the Exit Code field. - Click Save & Close.
Testing the Scenario
To test the scenario:
- Navigate to Definitions > Chains.
- Submit the Chain Definition BasicAlert.
- On the Times and Dates page of the Submit Wizard, add 3 minutes to the Requested Start Time field value.
- Click Next.
- On the Scheduling page, choose
System
from the Queue dropdown list. - Click Submit.
- Navigate to Monitoring > Processes and click
.
- Expand the Chain.
- Right-click Step 1 and choose Scheduling > Cancel.
- Wait until the Chain completes. An email should be sent to the email address you specified.