Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Do until inside Apply to each

Hi everyone,


I have flow where I am sending bunch of people email to approve something. Email goes under Do Until loop because if someone doesn't approve within 7 days, it will send same email after a week. Send Email has 7days timeout period to run do until.




Problem is when first person approves, the entire flow fails.


Is there anyway to prevent this happening? So if someone approves via email, it terminates that "Do until" but runs rest within Apply to Each.


Many thanks in advance.

Super User
Super User

Can you use Start and Wait for Approval Action instead of Send Email with options? That way you won't need Do until... Once someone approves for each will continue...

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Hi @PrasadAthalye 


Thank you for your reply.

The issue I came across with Start and Wait for Approval is...

I find it difficult to get Approve action button in reminder email and when click on Approve button, it asks for user comments which I want to avoid. I want one click approve button which is currently only possible with email with option. 

Ok. After the Send email action, can you check the response something like below? And then Set your Do Until variable to true so that it will exit?




I also recommend checking the following blog by @manueltgomes . He explains which option is better in which scenario?


Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Hi @PrasadAthalye thank you again for your quick response.


I do have condition. Please see the screenshot.



It works fine and sends regular reminders, until someone from Apply to each click approves. Then flow fails with error message - Action 'Send_email_with_options' failed.



Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (1,054)