cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Memorable Member
Memorable Member

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
Community Support

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
Community Support

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

Highlighted
Frequent Visitor

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

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Top Solution Authors
Top Kudoed Authors
Users online (12,354)