Hello everyone, I set up an advanced PDF template for a custom record that we want to email to a specific email address when a new record is created. Will this code not work because this is a custom record & not a transaction record?
var transactionFile = render.transaction({
entityId: rec_id,
printMode: render.PrintMode.PDF,
formId: 111,
inCustLocale: true
});