Similarly to variables, globals can be created using master globals. Globals only track a single value; each time the value is updated, it is overwritten and only keeps the last value. Once a master global is defined, it is automatically added to the definition just as a master variable.
The master globals UI for defining globals is shown below.
Adding and removing globals is a straightforward process. Simply enter the variable's name and select a data type to add a global. To remove a global, just select it from the list. The 'Variables / Globals have default values based on type' functionality in the Process Instances page allows you to set default values for globals.
- Variables and globals have '0' for the 'Number' data type
- Variables and globals have ' ' for the 'String' data type
- Variables and globals have 'Current date and time' for the 'Date' data type
- Variables and globals have 'false' for the 'Boolean' data type