Many customers have been asking for Globals, and we have delivered in our latest release. Just like Variables, Globals can be used to store values. FlowWright variables get tracked within every execution iteration of a step, this is good and bad. Good, that you can track the value of a variable throughout every execution, bad, that it increases the size of the Workflow Instance, increased size can also reduce the performance due to requiring very large amount of memory.
So Globals will solve the problem, you can change a Global's value as many times as you want, but only a single value is tracked. Globals are defined and function same was as variables within FlowWright. You can define Globals right from the process designer:
On The process designer page, navigate to "View -> Statistics" menu option. The statistics information for the processs definition is displayed as shown below.
On the process designer page, navigate to "Action -> Define Globals" menu option
The "Manage Globals" section is displayed with provisions to add, remove and change data type of the globals defined. Enter variable name in "Add Global" text box and select the data type from the drop-down list. Select "Add" button to confirm the global definition as shown below.
Include the global in the Route Form step - Email body. Select Global(s) button to view the list of defined globals and click any to add to text area as show below.
Save the Process Definition. In the "Manage Globals" section, select the global from the list. Next, select the "Used by steps" button. The list of workflow steps which are using the globals are displayed as shown below.
Once you define Globals, you can use the "Update Globals" step to update the value of a single Global or many Globals-you decide!
Globals can be used within any expression evaluation, any decision, or where every you need to store values. If your Process Instances are growing in size because of heavy processing by each day, there are many ways to trim the fat, you can use "single iteration" feature, but now you can trim the fat by using Globals.