cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mchien Advocate I
Advocate I

Do-Until ends before condition is met

I've been struggling with this for the past few days.

I have a Flow that's kicked off by PowerApps and uses an implementation by @yoshihirok (located here) for a Do-Until that runs 1 time/day for X days (in this example: 4).

Each day, I should receive an email. And on the last day, I'll should receive an email that tells me the flow is complete.

 

I am able to:

  • recieve the first email when it first runs
  • recieve the email when it ends
  • complete the flow successfully according to the dashboard

 

However, my problem is that the flow does not run for 4 days - it only runs for 1 day then jumps out of the loop and completes. Can someone explain what is going on here? Thanks

 

Untitled.png

 

3 REPLIES 3
yoshihirok Memorable Member
Memorable Member

Re: Do-Until ends before condition is met

Hi, @mchien

 

Timeout of Do-Unitl may be the reason "run for 1 day".

Can you try to setting the Timeout of Do-Until to 'PT7D' instead of 'PT1H' ?

 

Regards,

Yoshihiro Kawabata

mchien Advocate I
Advocate I

Re: Do-Until ends before condition is met

Hi @yoshihirok,

 

I tried P1DT1H a while back, and that paused the inside of Do-Until for 1 day.

Much have changed since then so I will give it a try and report back

 

abd3127 Kudo Kingpin
Kudo Kingpin

Re: Do-Until ends before condition is met

Hello @mchien@yoshihirok

 

I am having the same problem.

Did u get a solution for this problem???

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,162)