Help

Create separate records and write to linked fields

804 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Jack_Tranckle
4 - Data Explorer
4 - Data Explorer

Hello 

Thank you in advance for your help! 

I am trying to create separate records from a lookup field (the input variable) which in this example include the name Tom, Rose. The goal is to write these to new records however keep them linked to the "People" table by using the "Person" field. I am receiving a "cannot receive the provided value" error. I know it is an issue with the way I am writing to the linked record but I am pretty new to this so any help would be appreciated. Thank you! 

Checking the documentation it states that record links need to be in the following format, ive played around with this but do not quite understand how this would work in my case. What would the string be ?

 

TYPEDEF
Array<{ id: string }>

Jack_Tranckle_0-1673131962753.png

Jack_Tranckle_1-1673132070452.png

 

1 Reply 1

From a quick glance could you try the following?
1. Could you change your input variables to display the record ID instead of the record name?
2. On line 15, change `"Person": id` to:

"Person": [{id: id}]

If you still hit issues you can also DM me a link to your base if you'd like