web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger condition from...
Power Automate
Unanswered

Trigger condition from SharePoint choice column

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I am trying to trigger a flow from a SharePoint list using the "When an item is created or modified" trigger. I am then using the Trigger Conditions option in the settings to restrict when the flow runs.

 

I have a 'Choice' column called "Submitted" in the list that allows either "Yes" or "No". I would like the flow to continue only when the value of the "Submitted" column equals "Yes". 

 

I have tried a variety of options (and read many blogs!) but am not clear how to get the get the expression to work.

 

Any help much appreciated

 

(These are some of the ones I've tried

@equals(triggerOutputs()?['Submitted']?['value'],'Yes')
@equals(triggerOutputs()?['Submitted/Value'],'Yes')
@equals(triggerOutputs()?['Submitted']?['Value'],'Yes')
@contains(triggerOutputs()?['body/Submitted'],'Yes')
@equals(triggerOutputs()?['body/Submitted#Value'],'Yes')
@contains(triggerOutputs()?['body/Submitted#Value'],'Yes'))

 

MGB42_0-1643133706591.png

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    Hi,


    Sorry I thought I had found the solution but this also does not work

     

    The expression I used was @equals(triggerOutputs()?['body/FurtherInfo/Value'],'Yes')

     

    I found this by putting a Condition in the flow immediately after the trigger and then started to enter the expression adding the dynamic field I wanted. It then populated the expression for me!

    MGB42_0-1643134496751.png

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Anonymous :

    Pease try:

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

    vbofengmsft_0-1643338845913.png

    Best Regards,

    Bof

     

  • Community Power Platform Member Profile Picture
    on at

    Thank you Bof that now works perfectly

     

    In case anyone else has this problem after much wrangling I realised I had made an amendment in the SharePoint list which was not picked up in PowerAutomate so it could not find the trigger output. 

  • Geniusweb Profile Picture
    2 on at

    Hello,

     

    can you please advise how to use trigger conditions based on selection first OR second choice?

    In total I have column with 4 predefined choices but I want to trigger automation only if first choice (YES) or second choice (MAYBE) is selected.

    Thank you.

  • navyjax2 Profile Picture
    98 on at
    @or(equals(triggerOutputs()?['body/MyField/Value'], 'YES'),equals(triggerOutputs()?['body/MyField/Value'], 'MAYBE'))

    The format is basically taking an "equals" with the "triggerOutputs()", a "?", the field name off of the body and appending "Value" if it's a Choice or Lookup field, then a comma and the value you are looking for:

    equals(triggerOutputs()?['body/MyField/Value'], 'YES')

    and repeat this format for every choice you want the flow to trigger off of, with commas in-between those blocks, then encapsulate the whole thing with the

    @or( .... )

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard