Script Hierarchy

The script hierarchy consists of a script package and scripts contained within the package. There are three types of script packages: Business, Callin, and Callout.

Business Script Packages

Business script packages are used to store scripts that will process inbound events. They deal with the generation and handling of responses and interaction with notifications. Business script packages are linked to an event domain. All events that are inbound on a specific event domain will be processed by the corresponding script package.

The types of scripts included in a business script package are:

Callin Script Packages

Callin script packages are used to store scripts that deal with users calling into the xMatters system. The scripts in this package deal with the authentication of users and delegation to other script packages.

The types of scripts included in a callin script package are:

Callout Script Packages

Callout script packages are used to store scripts that deal with notification of users over the phone. These are not domain specific and will be used to route users to Business script packages that are domain specific.

The types of scripts included in a callout script package are:

Relationship between Scripts and Script Objects

Scripts and script objects integrate to provide users the ability to customize the behavior of their xMatters system. Both scripts and script objects contain properties that allow them to integrate.

Script Properties

The execution of a script within an interpreter session can be either in a persistent context or in a non-persistent context. When in a persistent context all script object information is persisted upon the suspension of the interpreter (Blocked or Terminated). In a non-persistent context all script objects are not persisted.

Example of Persistent Contexts:

Example of Non-Persistent Contexts:

Script objects, methods, and variables