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 avoid Infinite ...
Power Automate
Answered

How to avoid Infinite Loop while working with SharePoint in Power Automate

(0) ShareShare
ReportReport
Posted on by 56

While working with SharePoint list with Power Automate for trigger 'When an item is created or modified', after performing the relevant actions such as Send an email etc , while doing 'Update item' action, the flow can fall into an infinite loop.

 

In order to avoid this, click on ellipses (three dots) on 'When an item is created or modified' trigger, navigate to Trigger conditions at the bottom and add @not(equals(triggerOutputs()?['body/Editor/Email'],'abc.def@microsoft.com'))

 

Please note, abc.def@microsoft.com is nothing but the account on which the power automate bot is configured to run on and can be altered as desired.

 

Below screenshots for reference. Hope it helps!

rishabhkhanna1_0-1668761128866.png

 

 
 
 
 

 

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,504 Most Valuable Professional on at

    @rishabhkhanna1 - I dont see a problem in your question(or have I missed it)?

     

    The account should in the Expression will be treated as a service account and will be compared with the "Editor" i.e. the SharePoint Modified Column.

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @rishabhkhanna1 

     

    Thank you for your contributions to the community!

    You could mark your answer/solution as a 'Solution' to allow more people with the same problem to solve their own problem as quickly as possible.

    Thanks again.

     

    Best Reagrds,

    Levi

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
David_MA Profile Picture

David_MA 273 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 175 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard