Creating a context variable - 6.5

tFixedFlowInput

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for Big Data
Talend Open Studio for Data Integration
Talend Open Studio for ESB
Talend Open Studio for MDM
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Misc components > tFixedFlowInput
Data Quality and Preparation > Third-party systems > Misc components > tFixedFlowInput
Design and Development > Third-party systems > Misc components > tFixedFlowInput
EnrichPlatform
Talend Studio

About this task

For this scenario, you will define two context variables: nb_lines and lastname. The first variable will set the number of lines the tFixedFlowInput component will generate, and the second one will set the last name to display in the output list. For more information about how to create and use context variables, see Talend Studio User Guide.

To define the two context variables:

Procedure

  1. Select the Contexts tab view of your Job, and click the [+] button at the bottom of the view to add two variables, respectively nb_lines of type Integer and lastname of type String.
  2. In the Value field for the variables, set the last name to be displayed and the number of lines to be generated, respectively Ford and 3 in this example.