Use Case: Using Stateful Variables to Version Data in Informatica® Big Data Streaming

Use Case: Using Stateful Variables to Version Data in Informatica® Big Data Streaming

Step 3. Create a Stateful Variable Port

Step 3. Create a Stateful Variable Port

Configure the stateful variable port to track the version of each user's records.
On the
Ports
tab, create the variable port
var_Version
and configure the port expression
var_Version + 1
.
The following image shows the variable port
var_Version
and the port expression:
This image shows the Ports tab in the Expression transformation. The last port in the list is a variable port named var_Version, and it uses the port expression var_Version + 1.
The initial state value of the port is 0. The first time that a record arrives from a specific user, the value in the port is 1. The second time that a record arrives from the same user, the value in the port becomes 2.

0 COMMENTS

We’d like to hear from you!