Go to step continues from another step in the same tool or workflow. Use it to repeat earlier steps or skip steps that do not apply. The current branch ends, and the flow continues at the selected target.
Set up the step
-
Click + where you want the flow to jump.
-
Select Go to step under Control flow.
-
Under Target step, select where the flow should continue.
-
Set Maximum iterations to the number of jumps this step may make during one run. Choose from 1 to 10. The default is 3.
You can add Go to step between existing steps or at the end of a branch. When you insert it before an existing step, that step becomes its initial target. Check the target before saving.
The target must be in the same flow. It cannot be an If / else branch or another Go to step. Return result is allowed.
What to expect
A dashed line connects Go to step to its target on the canvas. The step shows Continues at with the target's name. Use Show the target step to find it on the canvas.
The limit counts successful jumps made by this Go to step during one run. For example, a limit of 3 permits three jumps. A fourth attempt stops the run with an error. Each Go to step has its own count. Pausing and resuming a run does not reset it.
Existing Go to step steps without a configured limit also use the default of 3. A saved limit stays in place.
Build a loop
Select an earlier step as the target to repeat part of the flow. Loops can run without waiting for the customer, so you can also use them for background work.
The flow must still have a way to finish, such as a branch that leads to Return result. If a run reaches its jump limit, check the condition that should end the loop. Then check that the step which changes that value is inside the loop.
Test the flow
Testing uses the same jump limits as live runs. Check that the loop reaches its exit before it uses all allowed jumps.