• Task
  • Version · 6.0
  • Deliver

Exit a Flow file

Last updated: August 11, 2026

Procedure

1

Run the status command within the Flow file and set the next -type argument to -type: control.

Include the status command and type: control in the flow file
loading
2

Set the exitCode to 0-4 depending on the severity you want to trigger.

3

Set the exitMessage.

4

Set the if: "status.changeset.Count == 0".

loading
5

After you set up your Flow file, run the flow command in the CLI.

loading