cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Do Until Advance Mode with multiple conditions

Hi, 

 

I have a flow action Do until having a condition 'Status is equal to approved'. Inside the do until, i have an approval, if the outcome is approve, status will be changed to approved; but if outcome is not equal to approve, it will check if the outcome is reject; if yes, the status will be rejected otherwise status will be request an update. I want to terminate the do until when the status is rejected. How can i write this in condition in advance mode? 

 

Status is equal to "Approved" and Status is not equal to "Request an update"

 

I have this code but it think its not correct:

@and(equals(body('Get_item_4')?['TDN_x0020_Status']?['Value'], 'Approved'),not(equals(body('Get_item_4')?['TDN_x0020_Status']?['Value'], 'Rejected')))

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Do Until Advance Mode with multiple conditions

Hi @karl_oliverio ,

 

Could you share more details on your scenario?

 

It seems that you have a Do until loop in the flow, and the condition is Status is equal to Approved. Do you want to wait until the approval is approved?

 

Are you using Premium approval type with three Response options? Approve, Reject, Request on update.

 

Besides, if you want to terminate the loop, I am afraid that you cannot add terminate action within the loop.

 

I have figured out the following flow for your reference.

1.PNG2.PNG

 

Best regards,

Mabel         

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: Do Until Advance Mode with multiple conditions

Hi @karl_oliverio ,

 

Could you share more details on your scenario?

 

It seems that you have a Do until loop in the flow, and the condition is Status is equal to Approved. Do you want to wait until the approval is approved?

 

Are you using Premium approval type with three Response options? Approve, Reject, Request on update.

 

Besides, if you want to terminate the loop, I am afraid that you cannot add terminate action within the loop.

 

I have figured out the following flow for your reference.

1.PNG2.PNG

 

Best regards,

Mabel         

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Users Online
Currently online: 322 members 5,976 guests
Please welcome our newest community members: