TIBCO | Types of variables
In this post we will discuss about different types of TIBCO variables. TIBCO application can uses any of this variables to manipulate data and logic.
TIBCO variable types are as follow
- Global variables
- Process variables
- Shared variables
Global variables
Global variable are used mainly for setting env variables such as JMS/HTTP/RV connection details. This are useful as those can be change at deployment time.
Process variables
Process variables are used for getting process level information. This information can be accessed while mapping some parameters in any of the BW activities such as Mapper activity. The $_processContext variable is available to process level info such as process id, ProjectName, EngineName, TrackingInfo etc.
Shared variables
There are two types of shared variables
- Shared variables
- Job shared variables
Shared variables allows TIBCO BW process to share data across process instances. Multiple process instances can read and write data to this shared variable. As all process instances are using this variable it is necessary to put this variable in critical section while writing data to this variable.
Job Shared variable allows TIBCO BW process to share data in that job only. If any of the other process is using this variable then they might get different output value. This is useful for passing data in sub processes.
Below is example of how Shared variables are implemented in TIBCO BW.
Comments
Post a Comment