SuiteScript 2.x User Event Script Entry Points and API
Important:
You can’t run a user event script from another user event script, or from a workflow with a Context of User Event Script—so you can’t chain them together. But you can run a user event script from inside a scheduled script, a portlet script, or a Suitelet.
Script Entry Point |
Description |
---|---|
Runs right after a write operation on a record. |
|
Runs whenever a record is read, before it’s returned or the page is loaded. |
|
Runs before any write operation on the record. |
|
Stores the string values for user event execution contexts. |