Errors Properties

As part of AutoMate's "tri-level" error handling options, errors may be handled on a per task basis. This is ideal if the user wants AutoMate to perform separate error handling procedures for each managed task. A task level error occurs when a certain step (action) within a task fails and AutoMate generates an error. This causes the task to notify the Task Service of the failure which allows the task’s error level handing events to occur.

Parameters


Task Level Error handling can be configured using the following four options:

E-Mail

When selected, the task will send an email message containing the task name and the generated error information. The default mail server settings configured in System -> Options -> E-Mail tab is used to send the message.

 

E-Mail Settings

Clicking the E-Mail Settings button allows for the following options:

 

To:

Specifies the email recipient in which to send the email to. This must be a valid email address (for example, sparky@networkautomation.com)

 

From:

Specifies the "from" email address. Some mail servers require that this be a valid email address (for example, sparky@networkautomation.com), while others allow any text (for example, "AutoMate on TestMachine").

 

Attach task file

When enabled, the corresponding task file (.AML file) will be attached along with the email. (This option is enabled by default)

 

 

 

Log File

When selected, the error that occurs can be sent to a task-specific log file specified by the user. This log file is separate from the AutoMate system Log file.

 

Log Settings

Clicking the Log Settings  button allows for the following options:

 

Location

Specifies the location of the log file.

 

Increment filename

When enabled, this option allows a number to be added to the filename in case the task logs more than one error.

 

Add date time to filename

When enabled, the date and time that the error occurred will be included in the filename.

 

 

 

Run a task

When selected, another Managed Task can be executed upon error (identical to the Global Error Handling option ‘Run Task on Error’). For example, a default error handling task can be configured to run if an error occurs in the task

 

Run Task Settings

Clicking the Run task Settings button allows for the following option:

 

Task to run

Specifies the managed task to run. Simply click the down arrow and select the task from the drop-down list that appears.

 

 

Windows Event Log

When selected, an entry can be created in the Windows Event Log upon task error.          

 

See Also

Error Handling Overview

Setting Global Error Handling

Step Error Handling

Editing Task Properties

About Creating Tasks

Creating a Task Using the Wizard

Creating a Task Without the Wizard