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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do until - Boolean var...
Power Automate
Unanswered

Do until - Boolean variable - email

(0) ShareShare
ReportReport
Posted on by 45

Hi everybody, 

 

I thought I had a solution for this form my last post but I am still having trouble with the attached flow. 

 

The 'Do Until' isn't recognising that the variable is true. What I want to happen is until the approval has been approved to send a reminder email every day.

 

Any help appreciated, thank you. 

 

Do until - 2.png

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi  

     

    The "Do Until" operation is like breaking pasta in half for Italians. You should never do it :).

     

    All kinds of hurt can come from it. May I suggest another approach?

     

    Separate into two Flows:

    1. Triggers the approval and waits for the reply (what you have on the left branch). Save that the approval process started somewhere.
    2. Have another Flow that periodically triggers that checks if finalized the approval and, if not, send a notification.

     

    The idea is to have things as deterministic as possible, and with this approach, you can end up in a case where the approval already ended and the Flow keeps on running until the timeout. Flows should start and finish as fast as possible.

     

    I know that some people don't agree with me, and this is a dividing topic, but the "Do until," in my opinion, should be avoided as much as possible.

     

    Cheers

    Manuel

     

    ------------------------------------------------------------------

    If I have answered your question, please mark it as "Accept as Solution." It will help other members finding the solution faster. If you like my response, please give it a Thumbs Up. ?

    Otherwise, reply to it, and the community will do its best to help you.

     

     

  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @SamHarland97 

    I think what is happening is that your loop is timing out.  A Do Until loop will time out after 1 hour by default.  If you click on "Change limits" here is what you'll see"

    image.png

     

    To change the limit to 29 days:

    image.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 570

#2
Valantis Profile Picture

Valantis 405

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard