Enum CallContext
An enumeration that provides information about the context under which certain javascript methods are invoked.
Fields
| Name |
Description |
| AfterSplit |
Used as the closeContext argument in job-level script function batchWillClose, when a batch split action takes place. After the original batch is saved to the server, it is split based on the user's selections. Function batchWillClose is called for both the original and the new batch and is passed as the closeContext argument.
|
| BatchSeparation |
Used as the closeContext argument in job-level script function batchWillClose, when a batch separation sheet is detected. The current batch will close or be suspended automatically, before the new batch is created.
|
| BeforeSplit |
Used as the closeContext argument in job-level script function batchWillClose, when a batch split action takes place. As a preparation for the batch split, the current batch must be saved to the server. Before the batch is saved to the server, function batchWillClose is called and is passed as the closeContext argument.
|
| ScriptAction |
Used as the closeContext argument in job-level script function batchWillClose, when a batch is about to close as a result of an action that was invoked programmatically via a script function.
For example, if a Batch is open on the application and a action is invoked via a script function, then the current batch may be suspended or closed, before a new batch is created. In this case, function batchWillClose is called and is passed as the closeContext argument.
|
| UserAction |
Used as the closeContext argument in job-level script function batchWillClose, when the user has requested to close or suspend the current batch.
|