You can define how errors in a specific workflow element are handled during a workflow run by adding an error handler to the workflow element. You can add an error handler only to workflow elements that do not have a specified error path.
About this task
Workflows that contain a Handle error element are not compatible with Orchestrator 5.5.x or earlier.
Create a workflow.
Open the workflow for editing in the workflow editor.
Add some elements to the workflow schema.
- Drag a Handle error element to the appropriate element in the workflow schema.
A dialog box appears.
- From the drop-down menu in the dialog box, select how errors should be handled.
When an error occurs, an exception is thrown. You can modify the exception binding.
Call a workflow
When an error occurs, a selected workflow runs.
When an error occurs, a custom script runs.
- Click Select.
You added an error handler to a workflow. When the workflow reaches this element, it performs the selected action before ending its run.