Hi,
I have created a Flow on a custom list that has more than 10000 items. The flow is set to run when Item is created or modified in this list.
When I created the flow couple of day ago it was working fine. The flow was disabled since than. However, when I turned the flow back on today and try to test it by modifying single item. I noticed huge number of flow instances started running even for the list items that were not modified. I also checked the modified timestamp of couple of running instances and it was also set to couple of days back. Here is the screenshot from one of the instance, as you can see the flow ran today but the modified stamp on the item is March 1st.
Has anyone encountered such issue before ?
Solved! Go to Solution.
Yes! When you turn off a flow an you turn it back on. It has kept track of all activities that would have triggered the Flow and execute them when you turn it back on. Very anoying and not what you would expect.
What I did was the following: before turning the Flow back on I added a box cancel Flow or teminate (don't know what the English term is for it cause it was in a dutch environment) -> wait untill all the runs of the past are done and then remove the block.
Hi @imran7799 ,
I think there must have some other flows with the same trigger of this flow.
So when you run the other flows, this flow was also triggered in the past.
You can add a specific condition to this flow to prevent the flow been triggered by other flows.
There are some sinilar cases you can take a reference:
Best Regards,
Community Support Team _ Zhongys
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Yes! When you turn off a flow an you turn it back on. It has kept track of all activities that would have triggered the Flow and execute them when you turn it back on. Very anoying and not what you would expect.
What I did was the following: before turning the Flow back on I added a box cancel Flow or teminate (don't know what the English term is for it cause it was in a dutch environment) -> wait untill all the runs of the past are done and then remove the block.
Could be that there is a time it keeps track of it; I think it is somekind of webhook that is called by an event in your list. So even though the Flow is off, the webhook keeps getting events from your list.
Maybe it keeps then for lets say 90 days (don't know that, its just a guess) and when you turn it back on after that it's 'clean again' but all of this is just guessing and assumptions 😉
And yes, when you have a lot of new or edited items it can be nasty. I came across this when migration a SharePoint environment. For test I already created the Flow. Then I switched of the Flow, migrated all the content and then turned on the Flow again ->Bingo! Flow executed all actions 😞
User | Count |
---|---|
84 | |
81 | |
48 | |
30 | |
23 |
User | Count |
---|---|
28 | |
28 | |
27 | |
21 | |
20 |