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 / How to break a loop wi...
Power Automate
Unanswered

How to break a loop with "create or modify item" trigger

(0) ShareShare
ReportReport
Posted on by

Hello: I currently have a flow with a trigger "when an item is created". This flow is created to get approval from manager when item is created on SharePoint calendar and when approved, email should be sent to requestor stating so and meeting invite sent to both manager and requestor with time off dates. And if rejected, requested again should be informed via email and and item deleted from sharepoint calendar. All of this work perfectly as should.

 

However, I needed to modify my trigger to "when item is created or modified" in order to be able to get approvals for both newly created and modified items.

Once I change the trigger with all other steps remaining same I get 8 different errors including a possible LOOP WARNING.

I have recreated the flow and mirrored all steps above and it runs when test but at the "Start an approval" stage it errors out and managers start getting requests of same item over and over.

 

I have added a trigger condition (see below) to stop the loop but no change:

@not(equals(trigger Outputs()?['body/Editor/Email'],'*** Email address is removed for privacy ***'))

 

I have search the community and seen similar issues but nothing specific as what I am looking to achieve. I tried to add a "Compose" function before "start and wait for approval" but I am not getting it right. I need help breaking the loop, any assistance will be highly appreciated.

 

See new flow thats having issues below:

If need be I can expand needed items but like said error begins from "start and wait for approval" when run a test.

2024-04-10 22_37_58-Microsoft Power Automate — Mozilla Firefox.png

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @lionOfJudah_000 

    Check this blog and let me know if you still are facing issues.

    Trigger conditions - just what I needed - Powering your Apps (sudeepghatak.com)

    I think your trigger condition needs some adjustments.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard