You can define how errors, which are not caught by standard error handlers, are handled during a workflow run by adding a global error handler to the workflow schema. You can add one global error handler to a workflow schema.

Before you begin

  • Create a workflow.

  • Open the workflow for editing in the workflow editor.

  • Add some elements to the workflow schema.

About this task

Important:

Workflows that contain a Default error handler element are not compatible with Orchestrator 5.5.x or earlier.

Procedure

  1. Drag a Default error handler element to the workflow schema.
  2. (Optional) : Add schema elements between the Default error handler element and the Throw exception element to specify how global workflow errors are handled.

Results

You added a global error handler to a workflow. When an error that is not caught by standard error handlers in the workflow occurs, the global error handler performs the specified actions before ending the workflow run.