[Flow Designer] Two executions of one flow trigger at the same time. How to make them synchronous?

Filip Pawelec
Tera Contributor

Hi,

 

My flow is triggered by a record update. Sometimes, it is called several times, or thrown into a queue, so that each action is processed by two executions of this flow at the same time. I have an IF condition, which is checking for a label entry, and if not, it is sending attachment to the customer and creating label entry. But while two flows are executed in the same time, the condition is returing true, because label entry is not created yet. And in this case I am sending two attachments and flow is failing due to dupliate label entry on the second execution.
1.

FilipPawelec_0-1683291437976.png

2.

FilipPawelec_1-1683291733183.png


Do you have any ideas how to make the flow executions in the queue, so they could execute one by one after last flow finish execution? I've already tried with "Run Trigger: Only if not currently running", but it is not triggering the flow if one execution is in progress. Right now I have an option "For every update".

 

Thanks in advance!

0 REPLIES 0