Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Using Global Variables in the Rule Editor

To use a global variable in the rule editor, use one of the `System.getGlobalVariableAs*` functions. For example:

    System.getGlobalVariableAsString("Hostname", "Localhost")

Where Hostname is the name of the variable and Localhost is an optional literal value to use if the variable is not found.

Do not use this syntax: `%%``Global.Variable.Name``%%`.

See Working with Global Variables for more details about global variables.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.