mikej
07/20/2021, 8:22 PMrec = record.create({
type: record.Type.LEAD,
isDynamic: true,
defaultValues: {
companyname: context.CompanyName,
subsidiary: defaultSub,
isperson: false,
email: context.EmailAddress,
phone: context.PhoneNumber,
comments: context.Comments
}
});
CD
07/20/2021, 8:26 PMcontext.
values actually exist? Do you save()
the record?Sandii
07/20/2021, 8:28 PMrustyshackles
07/20/2021, 8:38 PMmikej
07/20/2021, 8:50 PMscottvonduhn
07/20/2021, 9:22 PMmikej
07/20/2021, 9:24 PMscottvonduhn
07/20/2021, 9:26 PMmikej
07/20/2021, 9:40 PMmichoel
07/20/2021, 11:30 PMfor (const [fieldId, value] of Object.entries(bodyFields)) {
recordObj.setValue({ fieldId, value });
}
stalbert
07/21/2021, 5:05 AM