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

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
Capt_Ron
Level: Powered On

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
Capt_Ron
Level: Powered On

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

Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,357)