activities
latest
false
UiPath logo, featuring letters U and I in white

Workflow Activities

Last updated Oct 21, 2025

Error Handler

Error Handlers catch exceptions thrown inside a Sequence, an Activity or Subprocess, stop the executions inside, and redirects the executions of the process to recovery. From an Error Handler, you can configure to resume the execution, or to end it once the error is fixed. A Sequence, Activity or Subprocess can have none, one, or multiple Error Handlers as long as the Exception Type is different from the others.

Note: The Error Handler activity corresponds to the Error Boundary Event element in BPMN.
Important:

You can attach Error Handlers to Sequences, Activities or Subprocesses exlusively.



Use case

Use the Error Handler activity when you:

  • Need to catch an error for a single, specific Sequence or Activity.

  • Have a simple error handling logic that involves one Sequence or Activity.

For example, for a Send Invoice Sequence, the Error Handler:

  • Catches a failure

  • Routes the process to either:

    • Retry it, or

    • Notify the finance team and continue execution.

Properties

Exception Type

The type of the exception you want to handle with this event.

Display name

The name of the Error Handler point as you want it to be displayed on the Long Running Workflow canvas.

Link properties

Label

The description that is displayed on the canvas element of the link.

Managing the Error Handler event

To configure an Error Handler event in your process:

  1. Select the Error Handler and attach it to the desired Sequence, Activity or Subprocess in your canvas.

  2. Add activities to handle the error and link them to the Error Handler.

  3. For the Exception Type property, select the type of the exception you want to handle.

  4. Optionally, select the canvas element of the error handling path and provide a value to the Label property. This helps you describe the error-handling operation.

  • Use case
  • Properties
  • Link properties
  • Managing the Error Handler event

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2025 UiPath. All rights reserved.