Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

Lookup Field Text In Power Automate control(condition)

Posted on by 5,005
Hi All,
 
I have a requirment where i need to add a condtion for lookup field in power automate flow contro(condition)
 
When opportunity status not equal to closed or lost then send update else should not send update
 
 
Thanks
Sandeep
 
  • Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Lookup Field Text In Power Automate control(condition)
    Hi Sandeep,
    In the power automate, there is one action--Condition.
    You mentioned: expression in filter query?
    1)If the field type is choice, you can only use value to make a judgement, because that we can't easily get option label.
    --statecode is logic name of this field.
    2)If this field is lookup, you need compare it with guid:
  • sandeepc Profile Picture
    sandeepc 5,005 on at
    Lookup Field Text In Power Automate control(condition)
    I have a custom entity where i have added these options.
     
    My question is how can i add not equal to expression in filter query
     
    ABC ne Closed or ABC ne Lost
     
     
     
    Thanks
    Sandeep
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Lookup Field Text In Power Automate control(condition)
    Hi sandeepc ,
    Opportunity status?
    It's supposed to be of type CHOICE and only have these three options?
    Based on the screenshot, you can noticed that option is combined with two parts: Label and Value.
    What you need should be the label, right?
    Please refer to the following links:
    --get choice label in power automate:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     
  • sandeepc Profile Picture
    sandeepc 5,005 on at
    Lookup Field Text In Power Automate control(condition)
    In condition i need to show 
     
    if deal status is not equal to close 
    or
    if deal status is not equal to lost
     
    Any suggestions will be marked as verifiec
     
    TIA
     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans