I am using an automation that uses a script to append a record to another table's linked field. My code is shown below.
This is not working however, as the record.getCellValue('Worksheet: BOM") is returning an array that has the format ("string") instead of the format (id: "String"). Is there any way to fix this?
This is my error message: