
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 19, 2023 06:45 PM
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:
1 Reply 1
Comment Post Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎May 16, 2023 04:36 AM
@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!
