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

Workflow Activities

Last updated Oct 21, 2025

Throw

The Throw generates an error that can be captured by an Error Handler. Use it when you want to generate business exceptions based on runtime data under certain conditions. It operates together with an Error Handler, ensuring smooth exception handling within the process flow.



Properties

Exception

The expression for the error or the exception to be thrown by the event.

Link properties

Label

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

Managing the Throw event

To configure a Throw event in your process:

  1. Select the Throw event and attach it to the desired path in your canvas.

  2. For the Exception property, write the expression to throw an error or an exception.

  • Properties
  • Link properties
  • Managing the Throw 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.