I have a user event script deployed against a transaction record and each time the record is created, using record submitfields it updates the item record it relates to however I'm then trying to get workflows to trigger.. the field is being updated and can see under system notes however none of our deployed workflows are triggering.. any idea why?
Tried record load / record set value and record load / record.submitfields - snippet below
record.submitFields({
type: itemRecord.type,
id: itemRecord.id,
values: {
'custitem_time': new Date()
},
options: {
enableSourcing: true,
ignoreMandatoryFields: true
}
});