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

Trigger Condition expression for Contains data/value

(0) ShareShare
ReportReport
Posted on by 124

Hi all,

 

I've got a Flow setup that triggers based on when a record is created in Dynamics 365. I set the scope to "Organization" but I don't want it to trigger for all opportunities created.

 

Flow triggering on when a record is createdFlow triggering on when a record is created

On that entity, I've got a field that will always contain a value for records I want to trigger the flow. I now want to setup a trigger condition that basically triggers if <field value> contains data.

 

need a expression for the trigger condition that triggers if a field value contains dataneed a expression for the trigger condition that triggers if a field value contains data

Any help would be greatly appreciated!

 

Mike

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hey @Mick282 

     

    I did it like this for a SP based trigger and it works: 

    dewr.PNG

    Expression: (desc is the column name in my list). you can similarly replicate for a CDS entity. 

    @not(empty(triggerBody()?['Desc']))

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    RezaDorrani Profile Picture
    12,143 on at

    Hi @Mick282 

     

    In the compose action pick the field you need to do the check for contains data on

    Capture.PNG

     

    Next go to peek code for the compose action to get the associated expression for the field

     

    Capture1.PNG

     

     

     

    Then for the trigger set the expression

     

    Capture2.PNG

     

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

  • MikeC282 Profile Picture
    124 on at

    Thanks @RezaDorrani . That worked!

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