Error Handling


AutoMate's three-tiered approach to error handling provides a variety of methods in which to troubleshoot problematic tasks as well as supply alternative techniques to allow a task to recover gracefully from unexpected errors. Error handling can be set via the step, task and system level. The flow of error handling takes precedence from step to task to system. For instance, if an error occurs during task execution, AutoMate first adheres to any exception handling parameters set for the step that caused the error (if any), followed by error handling set for the task level, and conclusively, any system wide error handling parameters.

Step Level Error Handling

Step level error handling handles task exceptions on a per step basis. Normally, any failure of a step within a task causes a step error. What causes a step to fail is, however, dependent on the step and it's parameters. These parameters can be adjusted under the Error Causes tab of any AutoMate step (as shown below). For additional details, see Error Causes.

If a step fails, the user can select from a number of actions to be carried out. These actions are located in the On Error tab of any specific step (as shown below). For additional details, see On Error.

Step level error handling takes precedence over task and global lever error handling. When a step level error occurs, a task can alert a user, request user intervention, or with proper exception handling, it can recover on its own. For further information, see Step Error Handling.

Task Level Error Handling

As part of AutoMate's "tri-level" error handling, errors may be handled on a per task basis. This is ideal if the user wants AutoMate to perform specific exception handling procedures for a managed task. A task level error occurs when a step 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 set individually for any task and can be configured in the Task Administrator by accessing a task's Managed Task Properties and selecting On Error. Doing so will open the On Task Error page (as shown below). For further details, see On Error.

In most cases, error information is written to a log file so the user can easily track down illusive errors or identify obscure program behavior.

System Level Error Handling

AutoMate can handle errors globally for all tasks that run on a system. If any system level error handling parameters are enabled, AutoMate will act on ALL managed tasks that fail with an error. The settings for System Error Handling can be configured in the Task Administrator by navigating to Options -> Default Properties -> On Task Error.  Doing so will open the global On Task Error page (as shown below). For more details, see On Task Error.

Additional system level error handling parameters

Along with the exception handling options set under Default Properties - On Task Error, you can set additional error handling parameters globally via Options -> Preferences:


NOTE: For more information about additional system level exception handling, see Preferences.


p Back to Top