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 condition syntax
Power Automate
Answered

Trigger condition syntax

(0) ShareShare
ReportReport
Posted on by 84

I'm having some real problems setting up a flow trigger condition with SharePoint data.

 

I have a field called 'Service Lead' (which is a person or group column), and another field called 'Service Lead Text', (which is a text column).

 

Whenever the 'Service Lead' column is changed I want to update the 'Service Lead Text' column to match.  Without a trigger condition this creates an infinite loop in the flow as it's updating itself, so I only want it to run when the fields don't match.

 

I have tried to research the syntax on this but I'm struggling to get anywhere near.  For reference, the 'Service Lead Text' column needs to match the 'Display Name' of the 'Service Lead' person field.

 

Many thanks.

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @danbert1973 

    Could you share your current flow? I don't understand why an infinite loop is created.

    Regards,

    Ferran

  • danbert1973 Profile Picture
    84 on at

    Hi @fchopo .  Apologies, you are right, the flow does not trigger a loop.  It does warn me when I create the flow that I need to take steps to prevent an infinite loop, but a standard condition within the flow to compare the fields does appear to be working.

     

    When I added a trigger condition previously, the flow was looping (due to the condition always returning false), as my syntax was clearly incorrect.

     

    However, if anyone can point me in the direction of a comprehensive guide on how to use flow triggers and syntax for different column types/comparisons between field values then that would be a big help, as this is something I need to implement elsewhere.

     

    Many thanks.

  • Verified answer
    Jcook Profile Picture
    7,783 Most Valuable Professional on at

    Hello @danbert1973 

     

    This blog does a great job in explaining trigger conditions:

    https://blog.mattweston365.com/2019/12/power-automate-trigger-conditions-made.html

  • RezaDorrani Profile Picture
    12,145 on at

    Hi @danbert1973 

     

    To avoid infinite loops in trigger conditions 

    https://youtu.be/oKN4_5o2NUA?t=121

     

    --------------------------------------------------------------------------------
    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

  • danbert1973 Profile Picture
    84 on at

    Thanks @Jcook and @RezaDorrani for your links, much appreciated.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 427

#2
Vish WR Profile Picture

Vish WR 316

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard