On Task Error

Description

As part of AutoMate's tri-level error handling functionality, the following settings specify what the system should do if any managed task fails with an error. These parameters are handled globally for all tasks that run on a system.

To access On Task Error properties, from Task Administrator, navigate to Options -> Default Properties -> On Task Error.

 

Related Topics

Parameters

Property

Description

E-mail error notification for all tasks

If enabled, AutoMate monitors all tasks and will send an email notification containing details about the error or task failure in case one occurs (disabled by default). Enabling this option activates the To, From and Attach task file parameters below.

To

The email recipient in which to send error related data. This must be a valid email address (i.e. sparky@networkautomation.com). This parameter is active only if the E-mail error notification for all tasks parameter is enabled.

From

AutoMate uses this for the "From" field of the e-mail. Some mail servers require that this be a valid e-mail address (i.e. sparky@networkautomation.com), while others allow any text (for example, "AutoMate on Test Machine"). This parameter is active only if the E-mail error notification for all tasks parameter is enabled.

Attach task file

If this check box is enabled, AutoMate will attach a copy of the task (AML) file associated with the failed task. The AML file can be opened in any AutoMate Task Builder to enable further investigation as to what caused the error. This parameter is active only if the E-mail error notification for all tasks parameter is enabled.

Run task on error

If enabled, allows another AutoMate managed task to execute upon an error occurring in any task.

Select item

Click the drop-down arrow to select from the list of managed tasks in which to run on error. This parameter is active only if the Run task on error parameter is enabled.