Procedure
- In the design workspace, select tFixedFlowInput.
- Click the Component tab to define the basic settings for tFixedFlowInput.
-
Click the three-dot [...] button next to Edit Schema to describe the
data structure you want to create from internal
variables. In this scenario, the schema is made of
three columns, now of type
Date,
firstname of type String, and
lastname of type String.
-
Click OK to close the
dialog box and accept propagating the changes when
prompted by the system. The three defined columns
display in the Values panel of the Basic settings view of
tFixedFlowInput.
- Click in the Value cell of each of the first two defined columns and press Ctrl+Space to access the global variable list.
- From the global variable list, select Talend Date.getCurrentDate() and talendDatagenerator.getFirstName, for the now and firstname columns respectively.
- Click in the Value cell of lastname column and press Ctrl+Space to access the global variable list.
-
From the global variable list, select
context.lastname, the context
variable you created for the last name column.