Terminate Workflow Activity Usage


If a workflow needs to be terminated at a specific point in time and throw a specific exception, the Terminate Workflow activity can be used. 

A few examples could be:

new Exception("Failed Due to xyz")
new System.NotSupportedException()
new System.NotImplementedException()

TerminateWorkflow will end the Workflow, so catching an exception by using Try-Catch activities may be more desirable. The Reason gets displayed in the Monitor View as the Final Status. 


Have more questions? Submit a request