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 - 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,270 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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard