How do i terminate a do until action if a condition is not met in that loop?

How do i terminate a do until action if a condition is not met in that loop?
Hi @abd3127,
Could you please share a screenshot of your flow's configuration?
Do you want to terminate a Do Until action if the condition is always not met in that loop?
There is no direct way to terminate a "Do Until" action in Microsoft Flow currently. If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
In addition, you could consider take a try to set a time out for the "Do Until" action. I assume that you want to terminate the "Do Until" action if the Condition is not met after 2 hour. You could take a try to configure your flow as below:
Within "Do Until" action, click "Chane limits", Count property (Default value is 60) set to empty, the Timeout property set to following formula:
PT2H
If the Condition is not met after 2 hour, the "Do Until" action would occur time out error. You could also configure a Run after action for the "Do Until" action, if the "Do Until" action times out, send an time out notification to you.
More details about configuring a Run After action, please check the following article:
https://flow.microsoft.com/en-us/blog/error-handling/
Best regards,
Kris