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 / Right Condition for Do...
Power Automate
Unanswered

Right Condition for Do Until

(0) ShareShare
ReportReport
Posted on by

Hello guys!

I'm using Do Until action in my flow to repeat posting message to a channel. I've met with a issue that the condition in the action isn't worked sometimes.

 

Case description: When a new email arrives, post an adaptive card  to a channel and wait for a response.
The adaptive card contains three button (action.submit: 'Accept', 'Reject', 'Send Back'). When the button 'Reject' is clicked at the first time, the card will repost to the channel. Otherwise the flow is going to next step.

2020-11-02_13h43_16.png

 


I'm using Do Until action with variable 'Counter' (integer type) for checking condition. The variable is initialized with zero value before the loop. When the button 'Reject' is clicked at the first time, the 'Counter' is set '1'. When the button 'Reject' is clicked at the second time, the 'Counter' will be set '2' and the loop will be broken. I've selected the following condition:
'Do Until Counter is greater than or equals 2'


My issue: Sometimes the loop is broken, when the 'Counter' is set with '1' value. I can't reproduce the issue in testing mode. But I've met with in running flow.


Please could you help me to resolve the problem?

 

P.S. I've added Check Error switch below 'Do Until' action to monitor value of 'Counter' after  broking the loop. As I understand the case with condition 'Equals 1' shouldn't happen; but not so.

Categories:
I have the same question (0)
  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Are you hitting these limits?

     

    Please have a look at this link below.

     

    https://powerusers.microsoft.com/t5/General-Power-Automate/Limits-in-Do-Until-condition/td-p/170891

     

  • Community Power Platform Member Profile Picture
    on at

    Hi @abm!

    Thank a lot for your advice.

     

    It seems yes.
    I've just checked the limits on timeout. It's 1 hrs. But the last run with the issue was active for 4 hrs.


    Does it mean that the Do Until action doesn't check a condition when timeout go beyond setting limit?

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @Anonymous 

     

    Yes it does timeout.

     

    Please see this post 

     

    https://sharepains.com/2018/04/30/microsoft-flow-this-is-the-limit/

     

    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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard