Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Trigger condition from Sharepoint choice column

(0) ShareShare
ReportReport
Posted on by 2
Hi
I am trying to trigger a flow from a Sharepoint list using the "when an item is 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 "Send" in the list that allows either "yes" or "no" and i have a Choice column called "Colours" that allows either "Red" "Amber" and "Green". I would like the flow to send an email when the value of the "Send" Column is "Yes" and the value of the "Colour" column is "Red".
 
This is the expression i have tried but it won't work.  
 
Any help much appreciated
 
@and(equals(triggerOutputs()?['body/SendCCMP/Value'],'Yes'),equals(triggerOutputs()?['body/AccessLevel/Value'],'Red'))
 
  • CU30101841-0 Profile Picture
    CU30101841-0 2 on at
    Trigger condition from Sharepoint choice column
    Hi 
     
    Thanks for your quick reply it didn't work :-( .  The first part of the string works @and(equals(triggerOutputs()?['body/Send/Value'], 'Yes') but its not triggering when i add in the colour value.
  • Suggested answer
    mmbr1606 Profile Picture
    mmbr1606 10,487 on at
    Trigger condition from Sharepoint choice column
    hey
     
     
    can u try this:
     
    @and(equals(triggerOutputs()?['body/Send/Value'], 'Yes'), equals(triggerOutputs()?['body/Colours/Value'], 'Red'))
     
     
    if it helped please mark my answer as verified,
     
     
    thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard