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
Highlighted
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
Highlighted
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

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,007)