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

Community site session details

Session Id : 9xkKsXsSrXm7Z0eIR8HaMq
Power Automate - Building Flows
Answered

Do Until the previous step is successful...

Like (0) ShareShare
ReportReport
Posted on 2 Apr 2019 14:49:03 by

I have an approval set up and the next step after the approval is a condition.

 

I want to run a parallel branch off the condition with a "Do Until" type scenario which will keep sending reminder Emails  to the approvers (multiple approvers) until the previous step, the approval, is "successful".

 

So what I need is an "action" which checks for the previous action to be successful and keep doing what it's doing until it sees that. When the action sees that the previous action is "successful" it stops.

 

Any ideas?

  • CP153319 Profile Picture
    on 02 Apr 2019 at 16:45:08
    Re: Do Until the previous step is successful...

    I figured it out - I set the pre-approval variable to be "false" and then set the variable to be "true" after the approval happened. My mistake was that I had the "Do Until" checking for it to be "true" when it has to check for "false".  This is because I only want the action to happen while the variable is still false. 

     

    AWESOME!

  • CP153319 Profile Picture
    on 02 Apr 2019 at 15:59:44
    Re: Do Until the previous step is successful...

    Pure brilliance!!!

  • Verified answer
    PieterVeenstra Profile Picture
    on 02 Apr 2019 at 15:53:02
    Re: Do Until the previous step is successful...

    Set a boolean varibale to false before the approval. Then after the approval set the variable to true.

     

    In your Do until parallel branch you can then check for the value of the variable.

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Loading complete