System.getGlobalVariableAsString()

Signature

String getGlobalVariableAsString (String propertyKey, String defaultValue)

Domain

action, condition, query

Description

Returns the requested global variable's value as a String.

Parameters

NameTypeDescription
propertyKeyStringThe property key to get the value for.
defaultValueStringThe value to return if the requested value is not present.

Returns

TypeDescription
StringThe requested global variable's value as a String.

Cautions

none

Example


System.getGlobalVariableAsString ("Deployment", "Not present");

Result is: The String "BeTestDeployment".