The new Power Automate designer is getting a lot of negative attention. There are however a quite a few improvements in new Power Automate Designer. The Do Until step is one of those improvements in the new UI.
Do Until
Table of Contents
In the classic UI, I’ve seen many used the Do Until often in combination with variables as shown below where we run some actions inside a Do Until before a variable is set before the Do Until step will check the value of the variable.

In the classic UI you might think that the Do until condition would be checked before the first iteration of the Do Until. But this does not happen. A Do Until will always run once before it checks the condition.
Do Until in the classic UI without variables
First of all, this is not a matter of using variables or not. Whereas in Apply to each steps variables disable concurrency in Do until loops there is no concurrency setting, hence it doesn’t matter if you use variables or not. Other than less is often better.
When we run some more tests you will find that the variable steps are actually not needed at all. As the condition can check values from steps returned by steps inside the Do Until.

Now it is time to have a look at the modern Power Automate Designer UI.
Do Until in the modern Power Automate designer
Now, when we look at the new UI, we will see that the condition follows the logic in the Do Until. This mean that you would expect the code to run once before the Do Until checks if a condition is met.

This is one of those many UI changes that actually makes sense. Have you found any real positive changes in the new UI, then leave a comment below.
Discover more from SharePains
Subscribe to get the latest posts sent to your email.

In this post, you wrote “There are however a quite a few improvements in new SharePoint Designer.” Did you mean “Power Automate Designer”? If not, I’ve a bit confused.
Thank you. Fixed that now.