Do Until Example

Do Until in Microsoft Flow, first do then think!

Whether you use Dynamics 365 or SharePoint Online, in Microsoft Flow there are quite a lot of controls that help you build your business processes.  One of those controls is the Do Until control. As the name already says this control will do something until a certain condition is true.

In this post I will look at how this control works.

Do Until example in a Flow

For this post I will use the above example. When you run this flow the Do Until will go through all of its 60 runs. The 60 runs is the default value of the Do Until if the condition hasn’t been met.

Do Until run in Flow

This example shows that the Do until will first run the actions inside before considering the condition. This means that before running a do until you might want to run a condition if you want to implement a ‘While loop’ where the condition is checked first.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: