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

To add an alert

  1. On the Navigation Tree, click Automator  > Standard Processes and select Alerts. The Alerts page displays.

  2. On the Alerts page, click the Add icon Add button to create a new alert.

  3. In the Code box specify the alert type.

You may type a new alert name or select one of the following predefined alert types:

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.

  1. In the Description field enter alert description.

  2. 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.

  1. 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.