Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Lookup Field Text In Power Automate control(condition)

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans