Skip to main content

Notifications

Power Automate - Using Connectors
Answered

How to fill lookup field by name?

(0) ShareShare
ReportReport
Posted on by 6

Hi there,

My flow creates a new row in a CDS table ("log").

I need to update a field called "asset". This field is a lookup field related to the "asset" table.

My input trigger does not provide the asset id, but the asset name. 

How can I update this field using the Asset name and not the asset ID?

  • jeromeskiply Profile Picture
    jeromeskiply 6 on at
    Re: How to fill lookup field by name?

    Using the list record action before the add row action seems to be the best solution.

    Thanks for your help.

  • Verified answer
    Brad_Groux Profile Picture
    Brad_Groux 4,556 on at
    Re: How to fill lookup field by name?

    Without seeing your Flow, my advice would be to initialize a variable for the asset name and/or utilize an action from the Common Data Service connector after the trigger to call the specific record which would give you access to the asset name (such as List Records).

    If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

    If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

     

  • jeromeskiply Profile Picture
    jeromeskiply 6 on at
    Re: How to fill lookup field by name?

    Solved. I used a list record before and it was OK. Still interested to know if it can be done in one step.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics