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
- Display Name See Misc.
- Exception The exception that provoked the instance termination.
- Reason The reason for the workflow instance termination.
In this example, we extract all the "1 star" reviews for a product on Amazon. We use TerminateWorkflow when the product url selection is cancelled.