Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Do Until the previous step is successful...

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    Re: Do Until the previous step is successful...

    Pure brilliance!!!

  • Verified answer
    PieterVeenstra Profile Picture
    on at
    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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >