Si Hobbs
02/21/2025, 5:29 AMCeligo AI
02/21/2025, 5:29 AMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To create a record and set multiple fields in an API efficient way, you can use the
N/recordrecord.createrecord.save2.3.4 Using Parent-Child Relationships to Perform Mass Create/Updatejavascript
var fieldsToGet = {
    field1: null,
    field2: null,
    field3: null,
    field4: null,
    field5: null,
    field6: null,
    field7: null,
}
for (var fieldId in fieldsToGet){
    fieldsToGet[fieldId] = originalRec.getValue(fieldId);
}
for (var fieldId2 in fieldsToGet){
    newRec.setValue(fieldId2, fieldsToGet[fieldId2]);
}Celigo AI
02/21/2025, 5:29 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820328057
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81480366
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805463254
Celigo AI
02/21/2025, 5:29 AM