UiPath Documentation
activities
latest
false

Workflow activities

Throw

System.Activities.Statements.Throw

Throws a specified exception. Throw signals an error condition at a point in the workflow. The exception propagates up the call stack until it is handled by a surrounding Try Catch activity, or — if uncaught — terminates the workflow.

Project compatibility

Windows - Legacy | Windows | Cross-Platform

Properties

Common

ParameterDescription
DisplayNameThe display name of the activity.

Misc

ParameterDescription
ExceptionThe exception to throw. Typically uses a New expression, for example New System.InvalidOperationException("Order ID is missing").
PrivateWhen selected, the values of variables and arguments are no longer logged at Verbose level.

This activity is built by Microsoft. For more information, see their official documentation.

  • Project compatibility
  • Properties
  • Common
  • Misc

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated