Exit

When the Exit block is reached during a workflow, the process is immediately stopped. All subsequent blocks are disregarded.

Procedure

Note: By default, the Exit block indicates a successful termination. If you need to exit unsuccessfully, use the Throw block instead.

The Exit block works together with the If block. To use the Exit block along with If block, complete the following steps:

  1. Add an If block to your workflow, then drag and drop an Exit block inside the If block.
  2. Enter a condition in the provided field for the If block. For example, inside the condition field, put $result=true.
  3. Click Run to see the results. If successful, the Exit block is run when the condition is met.

Disabling Exit block

To temporarily disable the Exit block without deletion, turn off the switch in the block header.