Transform units allow you to modify the output of a data source. They can also be used to prepare output for a Merge unit.
In a Transform unit, you first match the structure of a data source. You then add the attributes required for your pipeline as parameters in the Transform unit. Finally, you modify the parameters you added as required. This results in a subset of parameters being provided as output from the transform unit.
The following screenshot shows a pipeline with a Transform unit connected to a data source and endpoint.
To add the Transform unit as shown in the pipeline above, follow these steps.
In a pipeline, drag a line from a unit and drop it onto a connection indicator.
From the Select unit to place pane, click Transform Unit to add it to the pipeline.
Click the Transform unit in the pipeline to display the Edit Transform pane.
In the Transform area, click Create root parameter.
You need to recreate the structure of the source data.
Add body folder - enter body in the element name field, then click the checkmark to save the folder.
Within the body folder, add data folder: hover over the new body folder, click the folder icon, then enter data in the element name field. Click the checkmark to save the folder
Select the attributes you want to map to parameters and drag them to the data folder. The selected parameters determine the output from mapped data source(s).
Click Done to save your changes.
In this example, a Transform unit is added to modify the data output from one of the sub-pipelines.