Configuration
The Configuration tab has the following fields.
Field |
Global Var? |
Description |
Name |
No |
The name to appear as the label for the resource. |
Description |
No |
Short description of the shared resource. |
Persistent |
Yes |
The current value of the shared variable is stored in memory for fast access by process instances. However, if a process engine crashes, the current state of the shared variable may be lost. To preserve the current state of a Shared Variable resource, you can check this field to store the current value of the shared variable in the process engine’s storage location. The current state of the shared variable is only updated in the process engine’s persistent storage when the value of the variable changes. |
Multi-Engine |
Yes |
Checking this field specifies that you want to make the value of a Shared Variable resource available to process instances across multiple process engines. If you choose this option, a database must be used to store process engine data. Also, only engines that are in the same deployment and use the same database to store process information can share variables. For more information on specifying a database for process engine storage during deployment, see TIBCO ActiveMatrix BusinessWorks™ Administration. For more information on specifying a database for process engine storage during testing, see TIBCO ActiveMatrix BusinessWorks™ Process Design. Because multiple process engines access the shared variable when this field is checked, the current value of the variable is not stored in memory. Both retrieving the current value of the variable and assigning a new value to the variable requires I/O to the process engine’s database storage. If this field is not checked, each process engine operates on its own set of shared variable resources. Process instances on one engine cannot retrieve the value of the shared variable set by a different process engine, when this field is unchecked. |