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 / infinite loop even tho...
Power Automate
Answered

infinite loop even though I added a condition.

(0) ShareShare
ReportReport
Posted on by 633

Hello, 

 

Could you do me a favor? 

My scenario is

Send to employee is yes (choice column in SP), the email will be sent to the employee. 

 

I added this below to the setting trigger of the 'when an item is created or modified' 

@equals(triggerOutputs()?['body/SendtoEmployee_x003f_'], 'Yes')

 

happyyear_0-1688411281466.png

This is my workflow. But there is an infinite loop. Could you do me a favor? 

 

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

    What is the condition that you have?

     

  • happyyear Profile Picture
    633 on at

    @SudeepGhatakNZ 

    Thank you for helping. 

    The condition is if the column "send to employee' is yes. (that is a choice column in SP) 

     

    Should I use "@not(equals(triggerOutputs()?['body/Editor/Email'],'SPconnectionaccount@company.com'))" for the setting in the item is created and modified? I did, but still I saw the warning " an infinite loop"

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @happyyear 

    The warning message may persist because the flow engine may not have sufficient information to determine the validity of the trigger condition. To verify the functionality of your flow, you can conduct a test by toggling the field value between "Yes" and "No" to observe if the trigger is activated only when there is a "Yes". If the trigger condition is functioning correctly, you can confidently disregard the error message and proceed with your workflow.

     

     

  • happyyear Profile Picture
    633 on at

    @SudeepGhatakNZ 

    Thank you for your help.

    Does it mean I need to create one column and add a toggle as a condition to the SP list? I am sorry that I didn't understand correctly. 

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    No what I meant was just test if your flow triggers when the SendtoEmployee_x003f_field is "No".

    If it doesn't, then you can safely disregard the warning

     

  • happyyear Profile Picture
    633 on at

    Hello, 

    @SudeepGhatakNZ 

    I got it. 

     

    Just in case, 

    1. @Anonymous(equals(triggerOutputs()?['body/Editor/Email'],'SPconnectionaccount@company.com'))

    Does this one to enter the setting trigger condition sometimes not work? 

     

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    That trigger condition you have provided means the flow will trigger only email of the person modifying the list is SPconnectionaccount@company.com

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard