Showing results for 
Search instead for 
Did you mean: 
New Member

(Action 'Set_variable' failed) when running multiple flow.

The process would work perfectly fine if it is running one per 30 sec or so. But when multiple flow run is initiated at around the same time this error would occur.

Additionally, I had set the concurrency control has been set to limit of 1.


What I want to do is to use a variable as a number to create a reference number with the variable's value, where it would reset if certain conditions are met. And saving the variable into a column (tempNum) which would be use for the next run.

so the flow would be like this.

create item ---->    create variable id  ---->   get previous entry (tempNum)  ----> set variable id (tempNum) ----> generate id ----> increment id ----> store variable id value.


flow 1flow 1pic 2.PNG

The error would occur during setting the variable id with the previous data'a (tempNum), after the get item process.

I've downloaded the outputs and discovered that when multiple flow is runned at the around the same time, the value from (tempNum) would not be called. But if only one flow is being runned, the (tempNum) value is called.




I would very much appreciate if anyone could help in providing more insight into this. I have only been using power automate for a week or two, and is unable to find the solution to this. Thank You


Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,790)