Do Until Example

Whether you use Dynamics 365 or SharePoint Online, in Power Automate there are quite a lot of controls that help you build your business processes. One of those controls is the Do Until control.

Do Until step

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 in Power Automate Microsoft Dynamics 365, Microsoft Flow, Microsoft Office 365

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 in Power Automate Microsoft Dynamics 365, Microsoft Flow, Microsoft Office 365 dountilrun

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.

By Pieter Veenstra

Business Applications and Office Apps & Services Microsoft MVP working as a Microsoft Productivity Principal Consultant at HybrIT Services. You can contact me using contact@veenstra.me.uk.

Leave a Reply

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

%d bloggers like this: