Effective in version 10.1.1, you can add a Terminate event to a workflow. A Terminate event defines a point before the End event at which the workflow can end. A workflow can contain one or more Terminate events.
A workflow terminates if you connect a task or a gateway to a Terminate event and the task output satisfies a condition on the sequence flow. The Terminate event aborts the workflow before any further task in the workflow can run.
Add a Terminate event to a workflow if the workflow data can reach a point at which there is no need to run additional tasks. For example, you might add a Terminate event to end a workflow that contains a Mapping task and a Human task. Connect the Mapping task to an Exclusive gateway, and then connect the gateway to a Human task and to a Terminate event. If the Mapping task generates exception record data for the Human task, the workflow follows the sequence flow to the Human task. If the Mapping task does not generate exception record data, the workflow follows the sequence flow to the Terminate event.