I have built a flow that triggers when a new email arrives in a shared mailbox. The purpose of the flow is to create a Planner Task and assign it automatically to a Team Member on a "round robin" system.
The end result is all incoming emails end up as a Planner Task and are evenly distributed out amongst the team.
It's working perfectly except in one scenario - When more than one email is received at the same time (by same time it's within the same minute) When this happens it triggers multiple flow runs concurrently, not allowing enough time for a step in the flow to execute which is causing the rotation between team members to fail, with one team member being assigned all the emails that arrived "at the same time".
I am at a loss on how to stop this from happening and make each email completely run through the flow before the next one is processed in the run queue.
Any help would be greatly appreciated.
Hi @Melanie-- ,
you have to modify your flow.
At first, turn off "Split on" in the trigger:
After that change the flow taking in account you need to check how many emails are in the trigger output.
Depending on your needs, you could simple add a short delay at the start of the flow, giving any concurrently running flows time to complete:
Or you can set concurrency control to 1, so that only one flow is triggered and run. If the flow is triggered again, it will be queued and will wait to run when the currently running flow completed:
Try the Try a the Delay method first as it's easy to add and you can adjust the wait times suit your needs.
Ellis
____________________________________
If I have answered your question, please mark the post as Solved.
If you like my response, please give it a Thumbs Up.
WarrenBelz
146,594
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional