When using getGlobalVariableAsLong (String propertyKey, long defaultValue) to retrieve a Global Variable value in a Global Variable Group, what is the format of the propertyKey?

When using getGlobalVariableAsLong (String propertyKey, long defaultValue) to retrieve a Global Variable value in a Global Variable Group, what is the format of the propertyKey?

book

Article ID: KB0086707

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
For Global Variable “timeout” in the Global Variable Group “EMSConfig”, the format of the propertyKey string should be “EMSConfig/timeout”. i.e.

getGlobalVariableAsLong (“EMSConfig/timeout”, 120)

This is the same for all getGlobalVariableAs&ltdata_type>() functions.

Note: you should not include leading and tailing “%%” when specifying a Global Variable in the propertyKey parameter for any of the getGlobalVariableAs&ltdata_type>() functions.

Issue/Introduction

When using getGlobalVariableAsLong (String propertyKey, long defaultValue) to retrieve a Global Variable value in a Global Variable Group, what is the format of the propertyKey?