Break — Reference
Exit the current Repeat or While loop.
Exit the current Repeat or While loop.
Before you begin
Section titled “Before you begin”- An open Server Connect action. Runtime differences below refer to the installed Node.js and PHP implementations.
Exit the current Repeat or While loop.
Placement
Section titled “Placement”This step has no configurable inspector fields. Its position in the action determines when it executes.
Worked example
Section titled “Worked example”Inside a Repeat over products, add a Condition for the record you want to stop at and put Break in Then. Confirm that later records are not processed and inspect whether outputs from the current iteration are already present.
Check the behavior and limits
Section titled “Check the behavior and limits”Break is a loop-control step, not a general successful response. Use it inside a loop. It does not roll back database writes or other actions completed before the break.
Continue with a task
Section titled “Continue with a task”Use the Server Connect guides when you need the surrounding project, data-loading or form procedure.
Check your result
Section titled “Check your result”You can configure Break deliberately and verify the result and failure behavior described in this reference.