Error Handling
(Available from version 7.0 onwards.)
The Error Handling events allow you to condition workflows and create event handlers to react to errors.
Events
Fires an event whenever an uncaught exception occurs.
Parameters
The event includes a single parameter, Exception. The parameter has multiple properties that store information about the exception that occurred.
Parameter |
Property |
Type |
Description |
---|---|---|---|
Exception |
Catching Item Display Name |
Text |
The display name of the component where the exception occurred. The component may be a callout, user-defined function, event handler, or workflow step. |
Catching Item Internal Name |
Text |
The internal name of the component where the exception occurred. |
|
Description | Text | The actual exception that occurred. For example, Null Pointer. | |
Name | Text |
The name of the exception, either:
|
|
Workflow | Text |
The name of the workflow in which the exception occurred. Available from 7.4. Important: This property is populated by an exception event in a workflow, and not by a built-in exception event. |
Example
The event handler below will start the Raise_Alarm workflow as soon as any uncaught exception occurs.
For a detailed example, see Exception Handling in Automation Studio.