Iterating on a list and retrieving the values
About this task
This scenario describes a two component Job in which a list is created and iterated upon in a tForeach component. The values are then retrieved in a tJava component.
Setting up the Job
Procedure
- Drop a tForeach and a tJava component onto the design workspace.
- Link tForeach to tJava using a Row > Iterate connection.
Results

Configuring the components
Procedure
Saving and executing the Job
Procedure
- Press Ctrl+S to save your Job.
- Press F6 to execute the Job.
Results
The tJava run view displays the list values retrieved from tForeach, each one suffixed with _out:
