In my after submit I'm receiving an error RCRD_DSNT_EXIST, and the record id of the transaction created appears to be context.newRecord.id+1. What would cause this?
m
Mike Robbins
12/11/2025, 5:24 PM
If you're user event script doesn't account for the DELETE UE Type, your script may be trying to run on a deleted record.
c
Christopher Quackenbush
12/11/2025, 5:26 PM
I'm creating a copy of a sales order. Would that trigger a delete at any stage?
I am gating the UE afterSubmit with a if (context.UserEventType.CREATE === context.type) {