This object represents a notification process which is a sub-process to an event resolution business process. It provides notification-related variables and methods.
Handler and presentation scripts pre-load a script object named "notification" that is the associated notification script object.
Creation Method: Created within an event resolution business process exclusively.
Reference Name: The object reference name used in a script is user-defined for each notification object created using the Event object’s notification factory method.
Scope: Script lifecycle.
This object is created in a script and then passed into scripts that are run against the associated notification. For example, a notification is created in the initial script named ‘alertA’. When the presentation script is called for this notification, the object, named ‘notification’, will be available. When response handler scripts are run for responses to this notification, the notification object (named ‘notification’) will be available .
Variable |
Type |
Description |
id |
String |
The notification ID assigned by the system upon creation. Can be used as an absolute reference ID for the notification. |
active |
Boolean |
Visibility of the active state; true if this business process has been started, false if never started, stopped or terminated. |
terminated |
Boolean |
Visibility of the termination state; true if this business process has been terminated. Used to signal that the notification is done; does not imply success or failure. |
The following objects are available with the Notification script object: