cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yoshihirok
Level 10

Tips: 10 times do some actions by Do until and variables like for ( n=1; n<=10; ++n )

I want to share a tips for 10 times do some actions by Do until and variables.

 

 

1.png

 

 

Tips:

1. Trigger: mobile button
2. Action: Variables - Initiarize variable ( Name = n, Type = Integer, Value = 0 )
3. Do Until - ( n is greater than 10)
  3-1. Action: Variables - Increment variable ( Name = n, Increment by = 1 )
  3-2. Action: Schedule - Deley ( 10 seconds )
4. Action: Send me a mobile notification

  

This flow do the actions "3-2. Schedule - Deley", 10 times.

 

I can use more scenario, like send mails 20 times or create files 30 times, etc.

 

Limit of Do until is 5,000.

https://flow.microsoft.com/en-us/documentation/limits-and-config/

 

Regards,

Yoshihiro Kawabata 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Tips: 10 times do some actions by Do until and variables like for ( n=1; n<=10; ++n )

Hi Yoshihiro,

 

Thanks for sharing with us the tips.

 

I will try it and recommend other customers who have the same requires to refer to your scenario.

 

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Tips: 10 times do some actions by Do until and variables like for ( n=1; n<=10; ++n )

Hi Yoshihiro,

 

Thanks for sharing with us the tips.

 

I will try it and recommend other customers who have the same requires to refer to your scenario.

 

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

fredyano
Level: Powered On

Re: Tips: 10 times do some actions by Do until and variables like for ( n=1; n<=10; ++n )

@yoshihirok

Just curious, on why you've added a Delay action. Also, would it matter if you do it before or after Increment step?

 

Fred

 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,788)