rtecall("trigger") function

A RAD function that turns triggers on or off for the current session. Other ITSMA Service Management users are not affected.

Function

rtecall("trigger")

Format

$L.success.flag= rtecall($L.fnc.name, $L.return.code, $L.switch)

Parameters

The following parameters are valid for the rtecall("trigger") function:

Parameter Data type Description
$L.success.flg Logical Indicates if the function was successful.
$L.fnc.name String Name of the sub-function to call, in this case "trigger".
$L.return.code Number Provides a more detailed return code.
$L.switch Number The value is either one (1) to turn triggers on. or zero (0) to turn triggers off.
Factors
If the $L.success.flg is false, the function failed. If it is true, the function succeeded.

Example

$L.success.flg=rtecall("trigger", $L.return.code, 1) to turn triggers on
$L.success.flg=rtecall("trigger", $L.return.code, 0) to turn triggers off