Eric Schultz
02/12/2025, 6:43 PM//======================================================
// WARNING : NO GOING BACK
//======================================================
if(oktoDelete === true){
var isDeleted = record.delete({
type: runtimeConfig.recordType,
id: internalId,
});
log.audit("Record "+internalId, runtimeConfig.recordLabel+" "+publicRecordId+" - Deleted");
}
erictgrubaugh
02/12/2025, 6:52 PMEric Schultz
02/12/2025, 6:53 PMerictgrubaugh
02/12/2025, 6:53 PMdelete()
call. The error message indicates a call to record.load()
is failing with no id
parameter, so look for thatEric Schultz
02/12/2025, 6:56 PMEric Schultz
02/12/2025, 6:59 PMerictgrubaugh
02/12/2025, 7:01 PMdelete
operations always trigger User Events, so long as they're not called from another User Event. Perhaps the UE doesn't run in the UI context, or doesn't run for your User/RoleEric Schultz
02/12/2025, 7:10 PM