Start and end
Endactivities allow you to clearly mark where your workflow starts and ends.
Context of use
Executing a workflow starts with activities without an inbound transition, and stops when there are no longer any tasks in progress. Nevertheless, you can add
Endactivities to clearly mark the starting and ending points of a workflow. This is especially helpful for relatively complex workflows.
It is a best practice to use an
Endactivity instead of leaving the last transition of a workflow on its own to ensure that the workflow properly ends.
- Drag and drop aStartorEndactivity into your workflow.
- Put theStartactivity in front of other activities such as queries, and theEndactivity after a series of activities.
- Select the activity, then open it using the button from the quick actions that appear.
- You can configure theEndobject so that it interrupts all of the workflow's ongoing tasks, including those that have not finished. To do this, select the corresponding option.
- Confirm the configuration of your activity and save your workflow.
Triggering another workflow
The following example shows how a complex workflow is executed with a
Startactivity and several
Stop all tasks in progressbox has been checked for the first
Endactivity. Once the corresponding task is finished, the entire workflow will be stopped: it will have the same effect as if the button had been selected (refer to the Action bar section).