Number of loops per GoToLabel or Total?

(Kurt) #1

There is the limitation of doing only 20 loops in the flow. Is this limitation for any loop or for each loop? For example, suppose I have 2 loops in my flow: that is, 2 ‘‘go to a label’’ and 2 ‘‘label’’, which make loops at different stages of my flow. Can I do 20 loops in total or can I do 20 loops in my ‘‘Loop 1’’ and 20 loops in my ‘‘Loop 2’’?

Thanks

(Daniel Beckett) #2

@Gregorio_Rodrigues1

The 20 loop total is on a per interaction basis and is shared across the entire interaction.

Any time the Goto label is used in the flow it will count towards the total - in the event that you loop through the flow by using a label it will increase the total count each time the Goto label action is completed. To clarify further, if you loop through a section 5 times you will have 15 remaining Goto label actions left for that interaction. If you use a GoTo label once more after that it would reduce the remaining total to 14.

Hope that makes sense :slight_smile: