Hi,
I have a flow that is trigger when a new email arrives.
This flow assigns a planner Task to a member of the planner group.
I use a Round Robin method so every email is assigned to the next member and when reach the end of the member list it starts from the first member.
This Round Robin uses a sharepoint list to store the index of the last user index of the list.
It works fine as long the emails arrive with some time between.
As soon more than one email arrives to the mail box the Round Bobin does not work well and the same member gets all the tasks from those emails that arrived at the same time. When I sai that the emails arrive at the same time I mean several email arrive within 1 second between them. I think the flow triggers as many times as the number of emails which causes the Round Robin to fail to update correctly the index position of the last member.
Any ideia about this issue? How to solve it?
Thanks.