cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Flow updates an increasing number of items instead of only the triggering item

Hello,

 

I am looking into migrating from SP 2013 to SP online, where many of our lists use SP 2010 workflows. I have migrated one list using the MS SharePoint Migration Tool. No issue there.

Afterwards I created a flow with the 'when item is created/updated' trigger. In the 'Update item' action I provide the ID from the trigger like so:

 

scr.PNG

 

When I save an item after creating the flow, that one item is updated, which is correct. When I save a second item, that item is updated correctly. But at the same time the previous item I updated also triggers the flow. When after this I update a third item, the item I just saved along with the two previous items trigger the flow at the same time.

 

Note that this is a list with already existing items. The flow is not triggered for items which were updated (migrated) only before the creation of the flow.

 

I have just created a new item, which triggered the workflow, and all three items I updated previously also triggered the workflow. Older existing items are still unaffected.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Flow updates an increasing number of items instead of only the triggering item

@KatalinDer 

You are likely experiencing two issues.  First, there is no trigger that fires only when an item is modified -there are triggers for when an item is created and one for when an item is created and changed.  

It also sounds like you are experiencing an infinite loop.  If a Flow runs when an item is modified and you update the item in that Flow, you have an infinite loop where one Flow causes the next to fire.

I wrote blog posts showing solutions to both of theses issues: https://o365scott.blog/

The two latest blog posts should show solutions to your issues.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Highlighted
Super User
Super User

Re: Flow updates an increasing number of items instead of only the triggering item

@KatalinDer 

You are likely experiencing two issues.  First, there is no trigger that fires only when an item is modified -there are triggers for when an item is created and one for when an item is created and changed.  

It also sounds like you are experiencing an infinite loop.  If a Flow runs when an item is modified and you update the item in that Flow, you have an infinite loop where one Flow causes the next to fire.

I wrote blog posts showing solutions to both of theses issues: https://o365scott.blog/

The two latest blog posts should show solutions to your issues.

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Highlighted
New Member

Re: Flow updates an increasing number of items instead of only the triggering item

@ScottShearer thanks for the input. Coming from SP on premises with only 2010 workflows, flow on SP online with its 5 minute flow trigger was just a bad scenario to troubleshoot and from how I experienced this I did not think it would be the issue you mentioned, even though that was coming up in all of my searches. Indeed adding an extra condition into the flow solves the issue. 

Highlighted
Community Support
Community Support

Re: Flow updates an increasing number of items instead of only the triggering item

 

This is a great way to solve this problem that has long plagued us.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (7,443)