For example, you could assign the value 7474 to the predefined global variable RvDaemon. You can then use the variable in different sessions in your adapter. If you wish to change the TIBCO Rendezvous daemon for your adapter, you can globally set it to a different value or override it from the command line.
When you want to use the global variable in the fields of a resource, enter the variable name surrounded by %% on both sides. Some fields in the configuration panel, such as user name and password fields, allow you to drag and drop global variables into the field.
To display the global variables editor, in the project panel, select the Global Variables tab or drop down, then click the Open Advanced Editor (pen) icon. If you select a global variable, then click the pen icon, the editor opens with the variable selected.
Figure 22 shows the global variables editor.
By default, all global variables are visible in the editor. You can provide a filter in the Filter string/pattern field to limit the display. The filter uses regular expression matching. That is, if you enter Rv in the field, only variables that have Rv in their name are displayed. Matching is case insensitive. Entering a new expression and clicking
Filter again performs a new search on all variables and will not refine the current search.
To clear the filter expression and display all variables either click Show all or remove the expression from the entry box and click
Filter again.
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: