Create an error condition exit
An administrator can reroute the workflow when a script error occurs by creating an error condition exit for specific activities within the workflow. This allows the workflow to process script errors in a predictable way and not create undesirable results.
Procedure
Open and check out a workflow.
Right-click in the top portion of the activity for which you want to create an error exit.
Select Add condition from the context menu.
Add a condition exit with the following values:
- Name:
Error - Condition:
activity.state=='faulted' - Click Submit.
The Error exit appears on the activity.
- Name:
Connect the Error exit to another activity for handling the error state, such as Notification or Log Message.
Image omitted: ErrorHandlingExit2.png
Error handling exit
Error handling exit
Parent Topic:Workflow error handling