web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Nested Do-Until Action
Power Automate
Unanswered

Nested Do-Until Action

(0) ShareShare
ReportReport
Posted on by 40

Hello, 

 

I have a Do-Until inside another Do-Until action. The inner one creates record until the desired number of records has been met but it has been continuously creating records exceeding the desired number of records. The outer loop runs the inner loop until a certain date has been met. 

 

My requirement is creating n number of record every n years. Am I doing this right or should I use a different approach?  

 

mkxx96_0-1695901183929.png

 

 

 

 

Categories:
I have the same question (0)
  • wskinnermctc Profile Picture
    6,519 Moderator on at

    I don't completely understand what you are trying to accomplish, but I believe you will have an issue using the utcNow() function. 

    The utcNow() will return the current date time in the format yyyy-MM-ddThh:mm:ss.fffffffZ and you are wanting it to equal a "NextCreation.." variable?

     

    wskinnermctc_0-1695909772599.pngwskinnermctc_1-1695909805610.png

     

     

    I think you will have difficulty getting utcNow() to equal a text variable. Especially since it will change each time it is called, even within the same flow.

     

    utcNow has different results each time it is usedutcNow has different results each time it is used

     

    I'm not sure about how all of your flow works, but I believe you will certainly have issues with the Do Until using the utcNow() function.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard