JavaScript object: system.functions

This JavaScript object is unique to HPE Service Manager. The system.functions object allows you to call a particular Service Manager RAD function from JavaScript.

Usage

system.functions.RAD function name( RAD function arguments )

Note There are two exceptions to syntax used for RAD functions: delete and null.

  • system.functions._delete( RAD function arguments )
  • system.functions._null( RAD function arguments )

Note Service Manager global system objects do not have constructors.

Arguments

The following arguments are valid for this object:

Argument Data type Required Description
RAD function arguments String Yes This argument contains any arguments required to execute the RAD function.

Properties

The following properties are valid for this object:

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

Methods

None

Example

This example does the following:

  • Sets a variable equal to system.functions.operator().
  • Displays the results of the RAD operator() function.

This example requires the following sample data:

  • A valid Service Manager RAD function name (for example, operator())
var operator = system.functions.operator();
print( "The value of system.functions.operator() is:\n" + operator );