Stop Loop

Stop Loop exits the loop it sits inside, immediately and without completing the
remaining iterations. The integration continues from the first step after the loop.

It takes no configuration — placing it in the flow is the whole of it.

When to use it

Pair it with a Conditional so the exit is deliberate rather than
unconditional:

  • Searching a collection for a match, and stopping once found
  • Abandoning a batch after an unrecoverable error, without failing the whole integration
  • Enforcing a ceiling on how many records a run will process

Stop Loop, Continue Loop or Stop Workflow?

StepEffect
Continue LoopSkips the rest of this iteration, continues with the next
Stop LoopLeaves the loop entirely, integration continues after it
Stop WorkflowEnds the whole integration run

A step placed inside a loop but after Stop Loop will not run in the iteration where the exit
is taken.


Did this page help you?