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 for ...
Power Automate
Unanswered

Trigger condition for lookup column

(0) ShareShare
ReportReport
Posted on by 431

I want to create a trigger condition for "only trigger flow if lookup column does not equal this value."

Note: I am not interested in changes in the lookup, only its value.

 

The trigger is: when a Sharepoint item is created or modified.

 

To filter objects in a Get items action, this works:

 

 

LookupColumn/ReferenceColumn eq 'X'

 

 

 

So I tried, for the trigger condition:

 

 

@equals(triggerBody()?['LookupColumn/ReferenceColumn']?['Value'], 'X')

 

 

But that is simply ignored and the flow runs on every change, regardless of the vaule in the lookup column

Categories:
I have the same question (0)
  • Verified answer
    Craig Stewart ABZ Profile Picture
    959 Super User 2024 Season 1 on at

     

    I'm doing something similar where if a specific supplier is selected from the lookup value then a flow runs to alert that this particular supplier is the current selection.

    I'm not sure if 

    LookupColumn/ReferenceColumn

    is the name you're actually using or you've used it a placeholder, but for me this trigger is working 

     

    @equals(triggerOutputs()?['body/ColumnName/Value'], 'X')// If the value is X then flow triggers

    to change for your requirement of NOT running on this value

     

    @not(equals(triggerOutputs()?['body/ColumnName/Value'], 'X'))// If the value is not X then flow triggers

    change ColumnName to the name of your column and X to the value that your require:

     

    My example trigger for reference:

    @not(equals(triggerOutputs()?['body/Supplier_x0020_Name/Value'], 'Supplier Name Here'))

     

     

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