V10.6
Overview
As a workflow developer, you may sometimes need to abort an open and idle workflow instance, and it's child workflows. Until now this was done with custom stored procedures developed by the developers, but now this functionality is available out-of-the-box. Having this functionality out-of-the-box, you can avoid addition of custom code.
Procedure
To abort an open workflow instance, you need to run a built-in command.
- In the Administration site, open the workflow.
- In the workflow, add a Built-in Command activity.
For details, see this article. - In the Built-in Command Activity properties window, select the following:
- Category: Process Operations
- Commands: Abort process
- Click Next.
- Add Abort process input parameters:
- workflowInstanceId: Workflow Id of the process to be aborted.
- Click Finish.