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

Creating a new record with lookup column in Dataverse

Hi 

I've got an issue with creating new record that has lookup column in which I need to put another new record I've created.

 

Path:

1. Creating new record in "Firmy" table

Nowy record.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2. Creating new record in "Szansa Sprzedaży" table with lookup column "Firma" where I'm trying to put a record that I just created in first step

Przechwytywanie zawartości sieci Web_11-8-2021_114525_emea.flow.microsoft.com.jpeg

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

After run this flow I receive this:

 

First record was created successfully.

Nowy record3.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The first record ID is correct but flow couldn't find it.  

Nowy record2.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I'm not sure if I explained it well but please anyone have idea what is wrong?

 

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @JacekP_Sys 

 

Syntax for lookup column is LogicalName of your entity(GUID)

 

eg:

contact(GUID)



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

View solution in original post

2 REPLIES 2
abm
Super User
Super User

Hi @JacekP_Sys 

 

Syntax for lookup column is LogicalName of your entity(GUID)

 

eg:

contact(GUID)



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Thank you for reply.

I put in this lookup column Odata ID instead record ID and it works.

The weird thing is that I'm sure I've tried to do that before.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (1,694)