Figured it out, need to wrap the custom record name in quotes: params.recordType == 'customrecord_t_job' vs record.Type.
t
tuli
04/30/2023, 1:15 PM
Yes, that is because of record.Type holds reference and mapping to only standard NS records, The one you were trying is a custom record.
that is why a script id of the custom record is required for this.
Glad you got this!