Predefined Process Variables

There are two process variables that are available to all activities that accept input: $_globalVariables and $_processContext. $_globalVariables contains the list of global variables defined on the Global Variables tab of the project. For more information about global variables, see Global Variables. $_processContext contains general information about the process, such as the process ID, the project name, whether the process was restarted from a checkpoint, and so on.

Note: Only global variables that have the Deployment option checked (on the advanced editor dialog) are visible in the $_globalVariables process variable. Also, only global variables with well-formed XML names (for example, names containing a % are not well-formed) appear in the $_globalVariables process variable. However, global variables of the type ’Password’ are not listed under the $_globalVariables process variable.