JavaScript object: system.vars

The system.vars object is unique to ITSMA Service Management.

The system.vars object allows you to call a particular Service Management variable into memory.

Usage

system.vars.variable name

Note Service Management global system objects do not have constructors.

Arguments

There are no arguments for this object.

Properties

The following properties are valid for this object:

Property Required Description
variable name Yes This argument contains the variable name you want to bring into memory.

Methods

None

Example

This example does the following:

  • Sets a variable equal to system.vars.$L_file.
  • Displays the contents of the $L_file variable.

This example requires the following sample data:

  • A valid Service Management variable name (for example, $L_file)
var v = system.vars.$L_file;
print( "The value of system.vars.$L_file is:\n" + v );