Skip to main content

Hi,

The following code crashes and I don't know why:

 

let table = base.getTable("Touchpoints"); let cTable = base.getTable("Contact"); let record = await input.recordAsync('Select a record to use', table); let callBack = await input.textAsync('What is the callback date? (YYYY-MM-DD)'); let notes = await input.textAsync('Include any callback notes'); let callDate = new Date(callBack); let recordID = record.getCellValueAsString("Contact RecordID"); console.log("Record of the Contact ID full record is: "); console.log(recordID); //console.log("The record id is: " + 'recBsDnoriZEaRY4i'); //let recordInsert = [{'id' : recordID}]; //console.log(billTillDate); await table.createRecordAsync({ 'Start Date/Time': callDate, 'Notes': notes, 'Contact': [{ id : recordID }] }); // recpBkpe7kCZSICoS

 

 Video for context:

https://share.getcloudapp.com/12u7pypE

@Kosta_Kondraten Did you manage to mitigate this crash issue? I think I encounter the same issue with inserting a link record ID to another record in another table, and I'm hoping you found a solution in the meantime. 🙂 Thanks in advance!