Adding an Alert
Automator provides an alerting mechanism whereby you can be notified based upon certain conditions. You can, for example, be notified via email if a process fails to run. These notifications are called alerts. Some alerts are pre-defined within Automator itself, such as the process failure (SystemAlertProcessFailed) and job failure (SystemAlertJobFailed) alerts, while others can be defined by users in global, pre-export or post-export scripts, using the AddEvent method from the JobLog object.
To add an alert
-
On the Navigation Tree, click Automator > Standard Processes and select Alerts. The Alerts page displays.
-
On the Alerts page, click the Add icon to create a new alert.
-
In the Code box specify the alert type.
Note: You may type a new alert name or select one of the following predefined alert types:
-
SystemAlertProcessFailed: Indicates that a process has failed.
-
SystemAlertJobFailed: Indicates that a job has failed.
-
SystemAlertNoInputToExporter: Indicates that there was no input to the Exporter (which means, that no input file exists).
-
SystemAlertDistributionError: Indicates that a distribution has failed.
-
SystemAlertVerifyFailed: Indicates a project verification failure.
Note: If a predefined alert (for example, the SystemAlertJobFailed) has already been selected, it will no longer be listed in the Code drop-down list, as you cannot specify two predefined alerts of the same type.
-
In the Description field enter alert description.
-
Click the Ignore Global Alert check box to ignore global alerts.
NOTE: This option is available only when the Allow ignore Global alerts setting is enabled. See the General Settings in Automator Settings for details.
-
Click Add Actions to add actions to the alert.
Note: When you add an alert, you must specify a distribution action for it. The distribution action you assign to the alert determines how you are notified of the problem. See Alert Distribution Actions below for more information.