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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do Until and Delays - ...
Power Automate
Answered

Do Until and Delays - Loop running 1 extra time

(0) ShareShare
ReportReport
Posted on by 32

Hello,

 

I have a flow that uses delay to remind individuals if they have a pending approval. If they still have not submitted a response after a predetermined period of time (45 seconds here for testing purposes), the the flow sends them a reminder email. In theory, I think I had the logic down, however in practice what is happening is that the do until loop is running 1 extra time even after a person approves.

 

Here's the breakdown of what happens:

 

  • A status variable is set to 'Waiting' to indicate approval is waiting for action
  • Approval message is received by individual. At the same time, a parallel branch begins running the reminder logic
  • 45 Seconds pass without action, flow starts sending reminders
  • Individual takes action on approval at some point
  • Next flow step sets status variable to 'Entered', which is the exit condition.
  • At this point, even though the variable is now 'Entered', one more reminder email gets sent out even though action has already been taken. This should not be the case.

Here is what the structure looks like:

 

loop.png

 

What can I do to correct this behavior? I think I'm missing something, possibly as to when the status is checked.

 

Thank you

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,532 Most Valuable Professional on at

    Move the timer above the status check condition that checks for Waiting and use that condition only for sending the email.  I suspect what is happening is that the condition checks the status and then starts the timer while it is still waiting.  while the timer is pending the flow changes the status to entered, but the flow will still send one more email since its already in that branch of the condition.  If you put the timer above the condition it will check the status just before sending the email and only send it if the status is still waiting.

  • Brian-C Profile Picture
    32 on at

    Right. I suspected as much while breaking down all my steps to find out what was wrong. Had to move the delay timer out of the condition.  Seems to be the solution after a few tests. Thank you for the help!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard