Changing Global Variable Values at Runtime
You can change the value of a global variable when you deploy your project in TIBCO Administrator. See the section on modifying runtime variables in for more information on using TIBCO Administrator.
You can also specify values for global variables when starting a process engine on the command line. To do this, specify the following as a command line argument when starting the process engine:
-tibco.clientVar.<
variablePathAndName
> <
value
>
where variablePathAndName
is the name of the variable you wish to set, including the path to the variable if it is contained in a folder. value
is the value you wish to set the variable to. For example, if you have a global variable named item1
contained in a folder named myGroup
and you wish to set its value to 500
, add the following argument to the command line when starting the process engine:
-tibco.clientVar.myGroup/item1 500