cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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.

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (26,237)