- TIBCO BusinessEvents®
- Standard
- System

# System.getGlobalVariableAsLong()

## Signature

`long getGlobalVariableAsLong (String propertyKey, long defaultValue)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

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

## Parameters

Name | Type | Description
--- | --- | ---
`propertyKey` | `String` | The property key to get the value for.
`defaultValue` | `long` | The value to return if the requested value is not present.

## Returns

Type | Description
--- | ---
`long` | The requested global variable's value as a long.

## Cautions

none