When the Exit control block is reached during the flow, the entire flow will be interrupted and exited with no further actions. This means that any blocks situated below Exit will be ignored if the Exit control block is reached and executed.
You can drag an Exit control block and drop it inside a workflow working area when a green field appears. Doing so makes it a part of that workflow.
The Exit control block is best suitable with the If control block:
- Enter a condition in the provided field of the If control block;
- Place the Exit block under the If block;
- This structure will execute exit (stop the entire flow) when the condition in the If control block is satisfied and the Exit block is reached (if not – Exit will not be executed).
To disable the Exit Block without deleting it, click on the Disable checkbox.