cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lexicron
Resolver II
Resolver II

How to prevent flow from running multiple instances?

My flow works on a single file on OneDrive and should not be allowed to start another run while it's already running or that poor file is going to get raped by all sorts of changes trying to be done to it.

 

The flow is manually triggered by a button by users.

 

The users are typical users who would click a button multiple times if it looks like nothing has responded within 0.12s. I'd prefer to make my flow more robust than to try to change that kind of user behaviour.

 

Is there a way to make a flow single instance only?

 

(My alternative was to make my flow create a copy of that file and work on the copy instead, while leaving the original file as a template and not touching it. However, because I need to add rows to a table, I need to specific the table name for the fields to show up in the Flow editor, so that I can populate them with the relevant values. I can make Flow create a copy of the file but the Flow editor is unable to pick up on the table name and fields for a file that's only created at run time.)

1 ACCEPTED SOLUTION

Accepted Solutions
Taylor_Becktold
Resolver III
Resolver III

Hi @Lexicron -

 

You can limit the amount of parallel Flows that are running by utilizing the concurrency controls in the trigger settings:

 

image.png

 

 

This will queue up multiple runs instead of having them run all at once. 

 

Did my reply help? Please give it a thumbs up.
Did my reply answer your question? Please mark it as a solution!
If you liked my response, please consider giving it a thumbs up.

View solution in original post

2 REPLIES 2
Taylor_Becktold
Resolver III
Resolver III

Hi @Lexicron -

 

You can limit the amount of parallel Flows that are running by utilizing the concurrency controls in the trigger settings:

 

image.png

 

 

This will queue up multiple runs instead of having them run all at once. 

 

Did my reply help? Please give it a thumbs up.
Did my reply answer your question? Please mark it as a solution!
If you liked my response, please consider giving it a thumbs up.

Perfect!! Thank you so much! 😄

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (4,399)