cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aporochine01
Level: Powered On

Do Until only works for 1 hour?

Not sure if anyone else has had an issue with this before, but I haven't been able to find anything like this elsewhere.

 

I have a Do Until which is triggered when a list item Status is 'Approved'. The do until is meant to work until the Status does not equal 'Approved', refreshing every 5 minutes.

 

My understanding is that the max retries for a Do Until is 5000. However, mine releases Flow after 1 hour - even if I change the Delay timings. The Flow then runs on and ends successfully.

 

Has anyone encountered issues like this with the Do Until function?

 

Untitled.png

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
aporochine01
Level: Powered On

Re: Do Until only works for 1 hour?

Thanks Mabel - that still doesn't work however I have figured it out, the issue was with the Timeout being set to PT1H. It'd be useful to have the timeout limits listed somewhere, as I haven't been able to find anything on it. The solution was to change the Timeout option to PT720H (so that it times out after 30 days.)

View solution in original post

Delid4ve
Level 10

Re: Do Until only works for 1 hour?

There you go:

https://en.wikipedia.org/wiki/ISO_8601

 

Its not an MS specification, its an ISO specification.

 

I do agree though that MS need to reference this in the help articles.

View solution in original post

5 REPLIES 5
Community Support Team
Community Support Team

Re: Do Until only works for 1 hour?

Hi aporochine01,

 

I create a simple flow to test the issue, I don’t change the value for the timeout limits. When I trigger the flow, if the approve option is not equal to Reject, the flow’s run status will be “Running”, if the approve option is equal to “Approve”, it will run succeed.

3.PNG

 

Please try to reconfigure your flow to see if it will work.

 

PS: When sharing pictures that contain your privacy info, please remove/hide them, such as the organization name within the SharePoint Site URL, and personal email address, etc.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
aporochine01
Level: Powered On

Re: Do Until only works for 1 hour?

Thanks Mabel - that still doesn't work however I have figured it out, the issue was with the Timeout being set to PT1H. It'd be useful to have the timeout limits listed somewhere, as I haven't been able to find anything on it. The solution was to change the Timeout option to PT720H (so that it times out after 30 days.)

View solution in original post

Delid4ve
Level 10

Re: Do Until only works for 1 hour?

I agree, these need to be listed somewhere, I had exactly the answer issue so thank you very much
Delid4ve
Level 10

Re: Do Until only works for 1 hour?

There you go:

https://en.wikipedia.org/wiki/ISO_8601

 

Its not an MS specification, its an ISO specification.

 

I do agree though that MS need to reference this in the help articles.

View solution in original post

jfthuong
Level: Powered On

Re: Do Until only works for 1 hour?

**bleep**, I was doing the exact same thing (also for an approval) and got this issue as well.

 

Glad to have found the answer 😉

 

Cheers, mate!

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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

Users online (9,312)