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.

Avatar for Pieter Veenstra

By Pieter Veenstra

Business Applications Microsoft MVP working as the Head of Power Platform at Vantage 365. You can contact me using contact@sharepains.com

Leave a Reply

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

Discover more from SharePains by Microsoft MVP Pieter Veenstra

Subscribe now to keep reading and get access to the full archive.

Continue reading