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.
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.
Click the Errors tab. A dialog appears as shown below:
Enter your selections as follows:
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.
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:
Location: Click the Open Folder button , browse to the location for the log file, and enter a file name.
filename or Add date time to filename:
Use Increment filename to create a new log for each new task error by adding a numerical stamp to the file name. Numbering begins at 0001.
Use Add date time to filename to create a new log for each date that an error occurs by adding the date to the file name. The default format is mm-dd-yyyy. You can change the format or add time by typing in an alternate format. (For more information on date formats, see Format Date/Time Action). If only date is used, multiple errors on the same date will be appended to the same log file. If date and time are used, a new log file will be created for each task error occurrence.
If neither Increment filename nor Add date time to filename is selected, a single error log is created and new error data is appended to the log on each error occurrence.
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.
Select this to have an entry created in the Windows Event Log if an error occurs in the task.
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