Save event arguments (Client API reference)
When the form OnSave event occurs, you can use the getEventArgs method of the execution context object to retrieve an object that contains methods you can use to manage the save event.
||Returns a value indicating how the save event was initiated by the user.
||Returns a value indicating whether the save event has been canceled because the preventDefault method was used in this event handler or a previous event handler.
||Cancels the save operation, but all remaining handlers for the event will still be executed.
||Cancels the save operation if the event handler has a script error.
||Disables the default async handler timeout.
PostSave event arguments
When the form OnPostSave event occurs, you can use the getEventArgs method of the execution context object to retrieve an object that contains methods you can use to manage the postsave event.
||Use this method to know information about a table being saved. It returns the table logical name, record id, and table name if save was successful.
||Use this method to know whether the save operation was successful or failed.
||Use this method to know the error details on why save failed.
Client API execution context
Execution context methods