cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
CP153319
Level 8

Do Until the previous step is successful...

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

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.

 

 

3 REPLIES 3
Super User
Super User

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.

 

 

CP153319
Level 8

Re: Do Until the previous step is successful...

Pure brilliance!!!

CP153319
Level 8

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!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 215 members 4,228 guests
Please welcome our newest community members: