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
Super User II
Super User II

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
Super User II
Super User II

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (89,586)