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

4 REPLIES 4
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.
Highlighted
Regular Visitor

Re: Help with waiting for a field to be populated

I have two similar field. But I don't understand the condition section in the last part 😞

 

 

 

 

 

 

Highlighted
Helper I
Helper I

Re: Help with waiting for a field to be populated

The condition is looking at the Body of the return object from Get File Properties and checking to see if the Title field is empty.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (7,790)