cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Where to find documentation on Do Until in Flows

Tried to set Timeout to 30 days in Do Until and got following error:

        "Unable to process template language expressions in action 'Do_until_-_check_if_prices_set' 'until' limits at line '1' and column

        '43490': 'The string 'PT30D' is not a valid TimeSpan value.'. "

So where do I find documentation on how to use it?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Where to find documentation on Do Until in Flows

@RomanKorchak you can see more details at https://en.wikipedia.org/wiki/ISO_8601#Durations

You've added a T into it which is incorrect because T is for time values like hours, minutes and seconds. Try it with just P30D.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Where to find documentation on Do Until in Flows

@RomanKorchak you can see more details at https://en.wikipedia.org/wiki/ISO_8601#Durations

You've added a T into it which is incorrect because T is for time values like hours, minutes and seconds. Try it with just P30D.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

View solution in original post

Highlighted
Dual Super User III
Dual Super User III

Re: Where to find documentation on Do Until in Flows

Hi @RomanKorchak 

 

Note that the do until loops in flows have a max count capped to 5000 iterations only. So if you are adding the P30D to the flow, ensure that you add a relevant delay that the flow 5000 iterations of the do until loop are not exhausted by then. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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!

Top Solution Authors
Users online (8,701)