cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Matyx
New Member

Do until loop don't take my variable to stop the loop

Hello,

 

I have a flow with a do until loop.

Two variables :

- Index reset to 1 before the do until action

- "Count(Item)" that count the number of items in XML data

 

So, the do until loop is pretty simple : "Do until Index is greater than Count(item)"

Matyx_0-1634802005602.png

 

But sometimes, I have a strange issue as you can see :

Matyx_1-1634802071757.png

Matyx_2-1634802086525.png

 

Index is 1 before the do until and Count(Item) is 5.

I don't know exactly why but my do until loop 2 times only.

 

Of course at the end of the loop, I increment by 1 my index variable :

Matyx_3-1634802234616.png

 

My loop is not in another loop.

 

Someone has already encounter that issue ?

 

Thank you for your feedback.

Mathieu Loslier.

 

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,157)