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

  1. Global variables
  2. Process variables
  3. 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
  1. Shared variables
  2. 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

Popular posts from this blog

Spring | Using TIBCO EMS with Spring framework

TIBCO | For Loop - Accumulate output

TIBCO | JNDI Server & JMS Instance creation