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.