Variables
When implementing business processes, we would need variables to store data elements. There are three types of variables available in TIBCO BW..
- Global Variables
- Process Variables
- Shared Variables
Global Variables
Global variables helps you to specify constants which can be used throughout the project. The constants can be specified and changed while designing and testing your project. You can also specify different values while deploying business process from Dev -> QA -> PROD.
Global variable are used mainly for setting environment variables such as JDBC/JMS/HTTP/FTP/IP Address/Port/Login(UserName, Password) connection details.
Process Variables
Process variables helps you to access various data-elements in your project.
There are predefined process variables containing the process ID, project name, etc. And, you can also create user-defined process variables for carrying process-specific data.
Process variables are data structures to the activities in the business process. Process variables are appeared in the Process Data panel of every activity’s Input tab.
Shared variables
There are two types of shared variables..
- Shared variables
- Job shared variables
Shared Variables:
Shared variables are used to share data across process instances. Multiple process instances can read and write data to this shared variable.
Job Shared Variables:
Job Shared variables helps you 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.
No comments:
Post a Comment