Setting Task Error Handling Properties

AutoMate's tri-level error handling system allows you to set error handling properties for the whole system, for individual tasks, and for individual steps within tasks. The task level error handling properties determine how automate will respond when a particular task fails. 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. Task Level Error Handling can be configured in each task’s Managed Task Properties window under the Errors tab.

To set a managed task's error handling properties:

  1. From the Task Administrator window, open the Managed Task Properties dialog box by selecting the task and clicking Properties or right-click the task and select Properties from the right-click menu.

  2. Click the Errors tab. A dialog appears as shown below:

  1. Enter your selections as follows:

E-mail

Select this to have AutoMate send the error data in an e-mail message. Click E-mail settings and enter the To and From e-mail addresses. If you do not want the task file attached to the e-mail, clear the Attach task file checkbox. The default mail server configured in System Options is used to send the message.

Log File

Select this to have the error data sent to a task-specific log file. This log file is separate and in addition to the AutoMate system Log file. Click Log Settings and enter your preferences as follows:

Run a Task

An error handling task can be configured to run if an error occurs in the task. If you have created such a task, select this option, click Run Task Settings, and enter or select the task in the Task to run box.

Windows Event Log

Select this to have an entry created in the Windows Event Log if an error occurs in the task.

See Also

Error Handling Overview

Global Error Handling

Step Error Handling

Editing Task Properties

About Creating Tasks

Creating a Task Using the Wizard

Creating a Task Without the Wizard