Terminate Workflow Activity

This activity should only be used to end a workflow when an error has occurred.

Description:

Terminates the running workflow instance, raises the Completed event in the host, and reports error information. Once the workflow is terminated, it cannot be resumed.

Inheritance Hierarchy:

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      System.Activities.Statements.TerminateWorkflow

Function:

Terminate workflow is used to cleanly exit the workflow after an exception has been caught.

Properties:

Name Description

Display Name

TerminateWorkflow

You can change the name of an activity to one that describes what it does. A descriptive name can make a workflow easier to interpret and maintain.

Exception

Gets or sets the exception that provoked the instance termination.

Reason

A string input argument with the reason for the workflow instance termination.

Version Information:

Supported from: Geocortex Essentials 3.0.

For more information:

https://msdn.microsoft.com/en-us/library/system.activities.statements.terminateworkflow.aspx