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 / Trigger Loop - When It...
Power Automate
Suggested Answer

Trigger Loop - When Item is Modified

(2) ShareShare
ReportReport
Posted on by 16
Guys,
 
I've trigger "When an item or a file is modified" and only want to run when Status and Owner field change and only if status has changed from its previous value.
I've place trigger conditions below, however, its still run an infinite loop: 
@and(empty(triggerOutputs()?['body/Owner@odata.old']), not(empty(triggerOutputs()?['body/Owner']))) 
@and(or(equals(triggerOutputs()?['body/Status'],'open'),equals(triggerOutputs()?['body/Status'],'closed')),not(equals(triggerOutputs()?['body/Status@odata.old'], triggerOutputs()?['body/Status'])) )
 
Categories:
  • Suggested answer
    David_MA Profile Picture
    15,508 Super User 2026 Season 2 on at
    You will not be able to do what you want with trigger conditions. You will need to have versioning turned on in your list and then use the Get changes for an item or file action to check if the status changed since it's last update. In the Get changes for an item or file you would set the start and end to the trigger start and trigger end values. You can then put the field value from the get versions action and check that it returns true.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard