Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Will a custom workflow action script trigger user events?
Hi all,
We have a scheduled workflow running with a single state and a single custom action.
From what I understand, this action should run similar to a beforeSubmit user script.
Custom Workflow Action Script:
var rec = nlapiGetNewRecord();
rec.setFieldValue('shipdate', SOME_VALUE);
This does successfully modify the record but does not seem to trigger any user event scripts on the record.
Is this intended behavior? If so, is there a way to get user events scripts to trigger on the record?
Maybe we could change the field with nlapiSubmitField() or load the record again with nlapiLoadRecord()
Thanks
0