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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Do until not working a...
Power Automate
Unanswered

Do until not working as intended.

(0) ShareShare
ReportReport
Posted on by 37

I have an approval flow that updates a list when 1 person responds and then ends.  However, it is supposed to email everyone every 7 days until someone responds.  It seems to be doing the opposite.  It is not terminating when someone responds.  It is still running.

 

NotWorking.png

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Set your approval type to "First to Respond" instead of "All must Reply" and check the Outcome, rather than Responses.  Responses is always a collection, Outcome is a string.  Also, the way its set up the loop in the parallel branch will always keep the flow open for at least 7 days before it completes since Do Until is always evaluated at the end of the loop.  Even after someone responds it will wait the 7 days until it checks whether it should send the reminder or exit.  To fix that replace your delay with an inner loop that has a one hour delay and a counter.  Have that loop run until the counter reaches 168 (7 days X  24 hours) or the approval condition is reached.  Then the reminder will only keep the approval open for a maximum of one hour after the approval completes.

  • Penngineer Profile Picture
    37 on at

    Response type is "first to respond".  Changed outcome to responses.  

     

    I am not sure how add an inner loop, but I will work on that.

     

    The person responded on the 1st day.  The approval flow did not check for a response and sent the email on the 7th anyway.  Will the inner loop fix that?

  • mequan Profile Picture
    on at

    Hi @Penngineer ,

     

    May you please check if you already configure time limit of Do until action? Actually Do until will have its own time limit. You may need change Do until limit as 7 Days or longer based on your requirements. For Do until limit you may check https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm .

     

    Thanks

  • Penngineer Profile Picture
    37 on at

    I am not sure what you mean.  This is what the Do Until looks like.

     

    DoUntil.png

  • mequan Profile Picture
    on at

    Hi @Penngineer ,

     

    I may suggest you change the Timeout part as PT7D or longer and test again. Timeout value would follow ISO 8601, so For how to configure Timeout value, you may check https://www.digi.com/resources/documentation/digidocs/90001437-13/reference/r_iso_8601_duration_format.htm.

    Thanks

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard