Hi all,
I have a flow that triggers when a new email arrives to a shared mailbox. This then takes that email and uploads it to Sharepoint list.
There is another flow that will trigger when a new item has been created to then go interact with the first list.
What is happening is by default, my email receiving flow takes all emails received and triggers on intervals of every 5 minutes. this means if 40 tickets came through, every 5 minutes it will take those tickets, upload them to SharePoint, then the other flow will kick off.
Here is where the issue lies. The other flow will instantly grab those 40 tickets and assign them. It's assigning them all to the same person because they are coming in at the same time. It's not giving enough time for the Modified column to be updated so it can query a new person with "modified asc". No, it sees a person with Modified being the furthest away and instantly assigns Ticket 1. Remember there are 40 tickets that are being uploaded to SP already? Well it doesn't give it chance for this "Modified" column to be updated fast enough to realize there's a new person whos Modified is furthest away. It's assigning everything per those 5 min intervals to the same person.