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 / Dynamics 365 get looku...
Power Automate
Unanswered

Dynamics 365 get lookup field text in Power Automate Create step

(0) ShareShare
ReportReport
Posted on by 120

I am creating a flow which triggered on the update of a certain field on opportunity record and therefore flow is supposed to create a task. The description of task need to display a lookup field value from opportunity therefore how can i get the text value of lookup field? E.g. If lookup is Account, i don't want Guid instead name of account is required to be show.

 

Thanks 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @UmerJaved 

     

    Use the Get Record action step and pass the ID. You should be able to retrieve all the details related to that account.

     

    Thanks

     

     

  • Verified answer
    abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @UmerJaved 

     

    Please follow the below steps:

     

    image.png

  • v-bacao-msft Profile Picture
    on at

     

    Hi @UmerJaved ,

     

    As suggested by @abm , we need to use lookup column id to get the corresponding record in the lookup entity.

    Please refer to the method provided by @abm to configure your Flow.

    Feel free to let us know if you have any other questions.

     

    Best Regards,

  • UmerJaved Profile Picture
    120 on at

    Thanks @abm and @v-bacao-msft this works. However for customer type lookup "Get record" doesn't seem to work, is there any additional bit needed to add such as Type and how?

     

    Regards

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @UmerJaved 

     

    Not sure what you meant by additional info and type? Could you please explain?

     

    Thanks

  • UmerJaved Profile Picture
    120 on at

    Hi @abm 

     

    "Potential customer" is a 'customer' type lookup(Account or contact) on opportunity in Dynamics 365 whereas my opportunity is for the contact hence when i use it(Potential contact) in the Get record to get the record and therefore name, nothing seems to happen and flow seems to be running forever with retry

     

    Regards

     

     
     

     

     

     

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @UmerJaved 

     

    Make sure you are passing the right dynamic field mapping. If the GUID mapping is correct it should get the related record. Also if you have a composite lookup which accepts Account or Contact then check the type of entity for contact only before you pass the GUID.

     

    Thanks

  • UmerJaved Profile Picture
    120 on at

    Hi @abm Thanks, to be precise can you tell where do i need type check condition? The flow seems to be stuck at GetContact Action.

    image.png

  • abm abm Profile Picture
    32,865 Most Valuable Professional on at

    Hi @UmerJaved 

     

    Go to you run history? Open the latest record. Click and expand the first trigger step. Check the output? Make sure you are passing the right mapped value here?

  • UmerJaved Profile Picture
    120 on at

    Thanks @abm it seems to be working now, without any change in logic though.

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard