Help

How to select a linked record via scripting/automation?

Topic Labels: Scripting
1048 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Alex_from_66_PR
6 - Interface Innovator
6 - Interface Innovator

Hi there,
I am trying to figure out a way to automatically select linked records via another field.
I have two types of records:
Property listings that are in a project(condo building or gated community) and listings that are NOT.

Project properties I'm able to use Lookup fields to select linked records showing the District of the property.

Listings outside of a community we must select the District manually.

Now I need an automation to select the District on the linked records. It MUST Be a linked record as I will then sync with a Webflow real estate website and you cannot sync anything other than linked records if you want the. Webflow field to be a reference field.

I figured out a script but I get this error message. I think it has something to do with the script not being able to select in the  Linked record. Please advise 
Error message: 

 

Error: Field "fldQe8Zq6eDEjs99l" cannot accept the provided value.
    at main on line 43
Script pic attached
0 Replies 0