In this TIBCO tutorial we will understand the use of Tibco Process Variable/Assign Activity over Tibco Mapper Activity with the help of an example. |
Process Variable/Assign Activity Vs Mapper Activity
|
Example
Below is the Tibco Bw example to explain the use of tibco Process Variable/Assign Activity over Mapper: Tibco Process Design Requirement Error Path |
Solution Here using Mapper activity wont be of any use as we cannot change the same mapper variable multiple times in a project. Thus we can us assign activity to solve this problem. Tibco Process Design Assign Activity Configuration Here in the above solution we created a schema for the Process Variable “JDBCErrorVar” to record error message and error code.When the error occurs in JDBC Query for the first time, Assign Activity will assign the error message and error code to the process variable and now the process variable has only the first JDBC error output stored.When the group runs for the 2nd time and error occurs in JDBC Query, Assign Activity assign the error to the process variable again. Now Assign activity has the first and second error. Thus we are able to accumulate the output when ever the group execute and there is a JDBC error. Assign Activity Data Stored |
Comment