Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Lookup Field Text In Power Automate control(condition)

(1) ShareShare
ReportReport
Posted on by 5,017
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,017 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,017 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
     

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans