cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeromeskiply
New Member

How to fill lookup field by name?

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Brad_Groux
Community Champion
Community Champion

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.

 

View solution in original post

3 REPLIES 3
jeromeskiply
New Member

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

Brad_Groux
Community Champion
Community Champion

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.

 

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

Thanks for your help.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (3,287)