I have a flow which is supposed to start whenever there is a new or modified item in a list. For some reason, the flow sometimes runs two, three or even four times. The flow is creating new users in our O365 tenant. Whenever a user already exists, the flow should only update and not create the user (e.g. location of the user has changed). When flows are starting multiple times the condition whether its a new or existing user can't be triggered as they're running simultaneously, causing multiple account creation.
You can see there is nothing special about when the flow is supposed to start.
but a lot of instances:
Anyone experienced this issue before?
Have you checked the run details of runs that are running simultaneously?
Are they triggered by the same item?
About the Condition, when the Status is equal to Teilnehmer, what are the next actions have you configured?
When using the trigger “When an item is created or modified” in a simple flow, I don’t get the issue you mentioned.
Please show me more details to help reproduce this issue on my side.
Have you had an opportunity to apply @v-yamao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
Thanks for your answer.
Sorry for the late reply, I was on vacation
It's quite random I figured - sometimes it does trigger 2 times, sometimes not and I simply can't find out why. The actions after the first conditions are more conditions
Really? I reported this problem to Microsoft and they reported (after a couple of weeks) that they have fixed the issue and it's already rolled out worldwide.
After that confirmation, I tested it again and it didn't seem to appear anymore.
Still happening here too. Getting frustrated with the number of hours wasted trying to find a solution while wading through massive amounts of misinformation. Had a process running absolutely perfectly on Zapier, then the Dynamics 365 v9 update broke it. Had to drop back to Flow. Added checks to see if the target values have been changed before allowing the duplicate Flow triggers. However the Flow instances happen so quickly that there is a race condition and even the checks on the target data don't work. This is just straight up broken tech. No excuse for it to have gone on this long. Stupid.
If you use the trigger created or modified, it can happen that the Flow runs multiple times.
So you create an item, the flow starts, in the meantime a colleague changes that exact same item, the flow runs a second time without you knowing. It will always run if the item has been modified.
This can only be the explenation of this behaviour.
Yes, this seems to have been the problem. A part of the flow actually triggered that items be modified, which seems to have started the flow all over again. Weird though that for 2 months the flow worked fine, and now it suddenly didn't. We solved our problem by using the trigger "When an item is created" instead.
Thanks everyone for the quick responses!
I set up a simple flow to test this. I have a new, unshared, Excel Online file to which another process appends a row. I ran the appending process only one time, ever.
I have a flow that checks for the Excel Online file to be modified and then sends an email with the last modified time of the Excel Online file.
I triggered the flow process at 9:52 am with the following results from flow:
As you can see the change dates are identical. If the pattern I have seen over the last few months holds, I will randomly get about 8-20 more emails from the process over the next 24 hours.
Zero other users have access to the Excel file, and the single row within it has not changed since it was appended.
The "OneDrive for Business - When a File is Modified (Properties Only)" connector itself seems to be broken. It's odd that some people seem to see this behavior and others don't.
I have the same issue with the "When an existing item is modified" and the "When an item is created or modified" triggers, they get triggered by the same event multiple times.
Really annoying, almost all of my flows are based on those triggers and now i had to turn them off because i ended up spamming everyone.
Does anyone have any insight into this issue?
I've experienced, even in the early days when created and modified trigger came out, that this appears broken.
Since those issues I've never used this trigger, so if I can give you any advice I would always use when created trigger
I have the same problem with Dynamics 356: When a record is updated trigger. It triggers randomly 1 or 2 or sometimes even 3 times when closing an opportunity in CRM. Cant see why you would not fix this since a lot of people seems to be struggeling with it!! Any ideas?
I am facing issue with MS Flow running multiple times, we are sending notifications on status field and it sends notifications 3-4 times, that is not good for production site.
Any body found the solution for the same?
Join us for the first ever Power Platform Online Conference!
Keep your eyes open for our upcoming T-shirt design contest!
Look out for new contribution recognition badges coming SOON!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!
Find out where you can attend!