Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by 4

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.

  • v-bacao-msft Profile Picture
    on at
    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,

  • KatalinDer Profile Picture
    4 on at
    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. 

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    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.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow