Inner for loop

Hi Guys,

I was implementing some logic with inner for loop with activity “For Each” inside the second for loop, I want to break the second and first for loops if a condition is met. I tried using 2 break activities. But the thing is when it execute the first break, it doesn’t execute second break. Is there any way I can achieve this?

Thanks!

Hi,

Perhaps you should use flag to exit outer loop.
I’ll attach sample code as the following.

sample.xaml (7.7 KB)

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.