web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update Item Infinite Loop
Power Automate
Unanswered

Update Item Infinite Loop

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

 

Hi,

 

I have a flow on a Sharepoint list. The trigger is: "When an item is created or modified"

The flow then updates a field depending on the value of another field using the  "Update Item" action.

 

The problem is the "update item" action in itself triggers the flow again, resulting in an infinite loop.

 

Can't see an obvious way to prevent. Thought of the idea of creating a boolean for each record as a semaphore to prevent an update if the field is set to true. Must be an easier way though.

Categories:
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Yes, if the list configured within trigger and Update item action is the same, it will fall into a loop.

     

    The method you could consider is basically the same as you described, adding extra fields to determine if it is the expected value.

    If not, then even if Flow has been triggered, Update item action will no longer be executed and the loop will be terminated.

    Please refer to the methods mentioned in these links to configure Flow, hope to help you improve the current situation:

    https://flow.microsoft.com/en-us/blog/advanced-flow-of-the-week-when-a-new-item-is-created-automatically-populate-a-sharepoint-lookup-column-calculated-field/

    https://medium.com/@krishnangshu.banerjee/https-indianjackofalltrade-com-how-to-stop-infinite-loop-of-ms-flow-when-sharepoint-item-modified-8f7f2c44db1d

     

    In addition, user have already made feedback on this issue and got the attention of PG. Please consider voting for this idea:

    https://powerusers.microsoft.com/t5/Flow-Ideas/Disable-Event-Firing-when-Flow-updates-a-SharePoint-list-item/idi-p/100399/page/8#comments

    Hope it helps.

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, I've just posted a comment about this here: https://powerusers.microsoft.com/t5/Power-Automate-Ideas/Disable-Event-Firing-when-Flow-updates-a-SharePoint-list-item/idc-p/494845/highlight/true#M20095

     

    TLDR; Write Trigger Conditions for the ''When an item is created or modified'' and add these blockers with ''Update Item''. You can create hidden colums for the list if you need more blocker data.

     

    Late reply but I found this before when browsing about the same problem, so I figured I'll spread my solution.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    2 years later and I am having this problem on a Power Automate flow I just created. Is this still an issue? I can not access the link you shared to Power Automate Ideas to see if it was resolved. All I want to do it add a hyperlink when a field is updated. I have read the workarounds, but they don't seem like good solutions for what I need. 

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 299

#2
11manish Profile Picture

11manish 274 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard