Hi All,
My cloud flow is accessed by multiple users, and it generates an integer (e.g., 1, 2...100, etc.) with each execution. Each flow instance needs to produce a unique integer. Currently, the integer is stored in an Excel Online sheet, which the flow accesses and increments by one, allowing subsequent flows to retrieve the next unique integer. This setup helps avoid duplicates under normal conditions.
However, if multiple users trigger the flow simultaneously, some flows end up generating duplicate integers. This happens because they are fetching the same integer from Excel Online before it is incremented by an another flow.
Could you suggest a solution? I'm open to saving the integer in a different source, as long as it doesn’t require a premium license. Also if possible, good to have flows generating sequential integers rather than random ones.
Thanks,
Kapil