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
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,207)