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.

 

View solution in original post

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

Thanks for your help.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Users online (1,644)