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 / when a list item is mo...
Power Automate
Answered

when a list item is modified trigger is looping th flow again and again

(0) ShareShare
ReportReport
Posted on by 128

Hello,

I am creating a sharepoint list item when MS Form responses are submitted using a straight forward flow.

but I have a task in that, in the list we have a column named 'Status' which has three values : 'requested' as default when entry comes in and 'Completed' and ' Rejected' when a technician changes the value manually. now I need to record these manual changes when Status is changed to 'Completed' or 'Rejected' in the same sharepoint list with two new columns 'Reviewed By' and Reviewed date' with user's name and list modified time in it.

I tried using the flow again with "when a sharepoint list is modified" trigger and adding trigger rule with only triggering when the status is completed or rejected in it. 

@Anonymous(equals(triggerBody()?['Status']?['Value'],'Completed'), equals(triggerBody()?['Status']?['value'],'Rejected')) 

And I am trying to update the sharepoint list again to record those changes in 'Last modified: display name' to 'Reviewed by' and 'Last modified: date' to 'Reviewed date' columns using the if statement in flow but because I am updating the list item again with the Status Completed/Rejected in it,  it is going on an endless loop here because that is the trigger condition of this flow.

AkshaySolanki_0-1634328972677.png

 

My basic requirement is to record date and name of the person who changed the status field in the same list. Can someone help me here please.

 

Categories:
  • Verified answer
    RezaDorrani Profile Picture
    12,145 on at

    Hi @AkshaySolanki 

     

    Check https://youtu.be/oKN4_5o2NUA

    Key is to set a flag value along with the updates.

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

    Thanks,
    Reza Dorrani, MVP
    YouTube
    Twitter

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
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard