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 / Flow trigger condition...
Power Automate
Suggested Answer

Flow trigger condition not working

(1) ShareShare
ReportReport
Posted on by 196
@And(equals(triggerBody()?['ApplicationWithdrawn'],false),not(equals(triggerBody()?['ManagerNomination'], triggerBody()?['NominationType'])))
 
 
This is my trigger condition that is supposed to only let my flow run if applicaton withdraw is false, and if Mnager nomination does not equal nomination type.   
 
Nomination type is a text field, and manager nomination is a multiselect field, i think this is the reason it is now working, but i am not sure what the correct syntax is in this situation.
Categories:
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,363 Most Valuable Professional on at
    Since Manager Nomination is a multiselect field you can't really use equals.  Instead you should use the contains operator.  It should be something like this
     
    @And(equals(triggerBody()?['ApplicationWithdrawn'],false),not(Contains(triggerBody()?['ManagerNomination'], 'triggerBody()?['NominationType']')))
     

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    11manish Profile Picture
    1,537 on at
    The issue occurs because you are comparing a multi-select field (array) with a text field (string). Instead of using equals,
     
    you should use contains to check whether the text value exists within the multi-select array, and wrap it with not() for your condition.
     
    If the multi-select field is stored as an object array, you may need to use join() to convert it into a string before applying contains.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 516

#2
Valantis Profile Picture

Valantis 477

#3
Vish WR Profile Picture

Vish WR 470

Last 30 days Overall leaderboard