Terminate Workflow
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. For more details please check https://docs.microsoft.com/en-us/visualstudio/workflow-designer/terminateworkflow-activity-designer?view=vs-2019
#
Properties#
Misc- Display Name See Misc.
- Exception The exception that provoked the instance termination.
- Reason The reason for the workflow instance termination.
#
ExampleIn this example, we extract all the "1 star" reviews for a product on Amazon. We use TerminateWorkflow when the product url selection is cancelled.