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

Help with waiting for a field to be populated

I have a flow that runs when a new document is posted to a document library.

I want to wait until the Title field (not required) is filled out before I do anything else.

I originally had nothing in the Do section and when the flow ran, it skipped right through even though there was nothing in the Title field.

So I added a 5 second delay in the Do section and now it gets stuck in an infinite loop.

I changed the Count to 720 so the Do Until would check every 5 seconds.

 

What am I doing wrong?

Thanks

Ron

Do Until

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Helper I
Helper I

Re: Help with waiting for a field to be populated

Sigh...

I figured out something very important when using the Do Until loop.

The Do Until loop exists in it's own little world.  Therefore any changes outside that world are completely irrelevant to the Do Until.

So... To fix my problem all I had to do was Get the file properties each time the loop ran (every 5 seconds).  Now, if these were MY servers, I'd be concerned with overtaxing them during high usage.  But because they are Microsofts, Oh Well! 🙂

 

Here's the new Flow segment:

DoUntil2.PNG

View solution in original post

2 REPLIES 2
Highlighted
Helper I
Helper I

Re: Help with waiting for a field to be populated

Sigh...

I figured out something very important when using the Do Until loop.

The Do Until loop exists in it's own little world.  Therefore any changes outside that world are completely irrelevant to the Do Until.

So... To fix my problem all I had to do was Get the file properties each time the loop ran (every 5 seconds).  Now, if these were MY servers, I'd be concerned with overtaxing them during high usage.  But because they are Microsofts, Oh Well! 🙂

 

Here's the new Flow segment:

DoUntil2.PNG

View solution in original post

Highlighted
Community Support
Community Support

Re: Help with waiting for a field to be populated

Hi @Capt_Ron,

 

Have you solved your problem?

 

I think your thought is correct. In addition, please check and see if the following thread would help in your scenario:

https://powerusers.microsoft.com/t5/Building-Flows/do-until/m-p/95974/highlight/true#M9398

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new 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!

Top Solution Authors
Users online (6,287)