web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / "Do until" step is som...
Power Automate
Unanswered

"Do until" step is sometimes ignoring variable check in condition

(0) ShareShare
ReportReport
Posted on by 9

Hi guys,

Key word is "sometimes". I have built flow with "Do until", to keep sending approves until manager of manager of manager has approved. It goes from doing it once to up to 3 cycles. It works! And then I noticed, that 1 out of 10 runs - it fails. No error. It simply doesn't go for another round.

I made a mockup flow just to emphasize on logic:

GBZ_0-1693464543215.png

In real flow:

- 1st condition is doing "Approval stuff", and deciding if it is approved, if not - ending it

- 2nd condition is checking what role has approved, if it was not the person we need, we do nothing, just simple compose step telling us that we go for another cycle in "Do until" because variable value hasn't changed.

 

In reality, I found out, that those few times it ran only 1 cycle, went to "compose" saying lets do it again, then it simply left "Do until" and did whatever is afterwards. No fail, no error, simply left the cycle.

And yes, after the loop there is step setting "status" in my list and in this case it would say "Doing". So flow itself confirms, that there was a value and it should have continued "doing until"

 

Has anyone been in same situation? Any ideas?

 

Also - my plan for this case is manually additionally setting "status" to "Doing" even tho it already has that value.

Categories:
I have the same question (0)
  • Verified answer
    GBZ Profile Picture
    9 on at

    Probably solved. In "Change Limits":

    • Count: 5
      • as expected. It will not run more than 5 cycles
    • Timeout: PT1H (default value)
      • changed it to P5D
      • behavior was that cycle is not cancelled after 1 hour, however it doesn't go for another round if it lasted longer than 1 hour. So it is successfully ended without errors or cancellations.

    More about ISO 8601:

    GBZ_0-1694006355041.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard