Skip to main content

Stop flow

Sophie avatar
Written by Sophie
Updated over a week ago

Definition and Usage

Stop flow immediately terminates the entire automation flow at the point where this command is executed. When triggered, it halts all subsequent actions in the current flow, preventing any further execution.


Parameter Values

Input parameters

This command does not require any input parameters.

Variables produced

This action doesn't produce any variables.


Notes

  • When the Stop flow command is executed, the automation will end immediately regardless of any remaining steps in the flow.

  • This command is useful for creating conditional termination points in your automation, such as stopping the flow when certain conditions are met or when an error occurs.

  • Stop flow differs from other flow control commands like "Skip" or "Break" which only affect specific sections of the flow.

  • Once the flow is stopped, any cleanup or finalization steps that come after this command will not be executed, so ensure any necessary cleanup operations are performed before this command.

  • Consider using error handling or conditional logic before using Stop flow to ensure the automation terminates only when intended.

Did this answer your question?