Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

CDS Current Environment - Trigger Filter Expression with Lookup field

(0) ShareShare
ReportReport
Posted on by 82

So I have a flow that I want it to only run when the lookup field currency (transactioncurrencyid) is equal to USD.

 

It works fine when I use the "_transactioncurrencyid_value eq {GUID}" in the Filter expression.

Where GUID is the USD currency record GUID.

 

Clearly we will have an issue here, that is if I take the flow into another environment or if the currency data every gets recreated... the GUID will change and then the Flow will not get triggered until I update the Filter Expression.

 

Currently what I have done is instead of using the filter expression and I am using the "Get Record" in order to check the selected currency is in fact USD. Otherwise, don't do anything...

 

But still I wonder, if it is even possible test a lookup field text instead of the GUID in the Trigger Filter Expression...

 

 

Categories:
  • shennu Profile Picture
    82 on at
    Re: CDS Current Environment - Trigger Filter Expression with Lookup field

    Thanks for the confirmation re it is not possible to do such thing on the Trigger itself...

     

    Appreciated

     

  • shennu Profile Picture
    82 on at
    Re: CDS Current Environment - Trigger Filter Expression with Lookup field

    Thanks again for giving the details with extra action steps by using Parse Json ...

     

    So in the other word it is Not Possible to filter use the Filter Expression on the Trigger itself by a lookup field text instead of the value,

    Correct?

     

    If you confirm the above for me that would be brilliant.

    Many thanks adv

  • shennu Profile Picture
    82 on at
    Re: CDS Current Environment - Trigger Filter Expression with Lookup field

    Jay,

    Thanks.

    Sorry if I wasn't clear enough in my initial post, but what I am really after here is if it's possible to test the text value of the lookup field directly in the Filter Expression instead so the Flow will not get trigger at all. 

    Any ideas?

    Xun

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492