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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow Creating Multiple...
Power Automate
Suggested Answer

Flow Creating Multiple SharePoint Versions Due to Loop

(0) ShareShare
ReportReport
Posted on by 16

Hi everyone,
I’ve built a Power Automate flow that tracks status changes in a SharePoint list item:

  • When the Status column changes from "Pending" to "In Progress", it captures the current date in the Start Date column.
  • When the Status changes from "In Progress" to "Completed", it captures the date in the End Date column.

The date capture works perfectly. However, the issue is that the flow keeps running in a loop and creates thousands of versions of the SharePoint item.

Here’s what I’ve already tried:

  • I added a trigger condition:
    @equals(triggerOutputs()?['Body/Status/Value'],'In Progress')
  • I also added a condition block inside the flow to check the status before updating.

Despite this, the flow still updates the item and retriggers itself, causing version bloat.

Question:
How can I prevent the flow from updating the item unnecessarily and stop it from looping?

Any help or suggestions would be greatly appreciated!

Categories:
I have the same question (0)
  • Suggested answer
    Rohit Jagadale Profile Picture
    16 on at
    1. Before updating, check if the column is empty: This prevents unnecessary updates and retriggering.

    2. If Start Date is blank → update it. Else → do nothing.




    3.  
     
  • Tanveer Profile Picture
    16 on at
    @ 
    Thank you for your response, I did not understand your answer, could you please explain it with more detailed steps please.
  • Rohit Jagadale Profile Picture
    16 on at

    1. When item is created (Status = In Progress)  => capture Start Date


    • Condition: Status = In Progress AND Start Date is empty

    • Action: Update only the Start Date column with utcNow()

    2. When Status changes to Completed => capture End Date


    • Condition: Status = Completed AND End Date is empty

    • Action: Update only the End Date column with utcNow()


    •  
  • Tanveer Profile Picture
    16 on at
     
    Thanks again for responding to my post, see below is the complete flow details, is there any mistake in my flow?
     
    The revisions are created without stopping, i am 100% sure this is happening from this flow only. If i turn off the flow the revisions are stopped and if i turn on the flow, then again, the revisions are restarted.
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard