cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Liminity_Sammy
Frequent Visitor

Concurrency Control troubles.. Multiple instances of the same flow runs at the same time.

Hello.

I've made a flow where one part of it is as following:

Get Date from API > Check if Excel document contains the date >
IF not > insert date to excel > send mail saying row updated.
IF yes > send email saying row already exists.

The flow will run twice since there is two  dates from API. I want it to run them after eachother, and not at the same time.

Best case scenario the first run will insert a date and send email. The second run will detect that row already exists in excel and send email saying it already exists.

 

But since Flows runs at the same time, both runs will write to excel and create accounts..
I've enabled Concurrency Control and set it to 1 but it still runs twice at the same time.


Note: The second time I trigger the Flow it detects that there is input in Excel. So the "flow chart" is okay..

flows.PNGit

1 REPLY 1
JohnAageAnderse
Memorable Member
Memorable Member

Hello @Liminity_Sammy 

Did you find a solution to your issue or is it still relevant?

If still relevant, what did you mean by "The flow will run twice since there is two dates from API. ..."?

Are there two calls to the flow or does the one call contain two dates?

Kind regards, John

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,296)