UiPath Documentation
activities
latest
false

Workflow activities

Terminate Workflow

System.Activities.Statements.TerminateWorkflow

Ends the workflow immediately, raising the configured exception. Once Terminate Workflow is reached, no further activities are executed. Terminate Workflow is intended for cases where the process has hit an unrecoverable state and execution must stop explicitly.

This activity is distinct from the Terminate end event used in business-process diagrams.

Project compatibility

Windows - Legacy | Windows | Cross-Platform

Properties

Common

ParameterDescription
DisplayNameThe display name of the activity.

Misc

ParameterDescription
ExceptionThe exception to throw when the workflow terminates.
ReasonA description of the reason the workflow is being terminated. Used when Exception is not provided.
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