Loops
There are four components in Studio that enable you to create loops. They are called loopable components:
The "Alternative Exits" of the Assignment and Dial component are loopable.
You can configure one-level loops, in which the Exit to a loopable component is the component itself (Figure 1), or multi-level loops, in which the Exit to any component is a previous loopable component in the flow (Figure 2).
If you were to attempt doing the same with non-loopable components, the following error would be displayed when you saved your flow:
Endless loop detected in this step
This is true for both one-level loops (Figure 3) and multi-level loops (Figure 4).
Note
When an endless loop error message is displayed, both the steps and the arrows that connect them will be highlighted in red, so you can easily identify and correct the error in your flow.
Updated 2 months ago