How to stop the loop

Hi guys!
How to stop the loop other than break activity?Because I only know break activity.:sweat_smile::sweat_smile::sweat_smile:

Regards
AKZ

@Aung_kyaw_zin

You can put any condition using IF activity inside loop and then you can stop it.

Thanks for your advice.:smile:

One method if you use a Do While, would be to surround it with a Try/Catch, then use the Throw to bounce outside the loop. I suppose it could be used with ForEach, but I would suggest Break in that case.

1 Like

Thanks again for your advice.:smile:

Use a Break inside the loop to stop it

1 Like