You can configure a mapplet to return mapping outputs. You can bind the mapping outputs from the mapplet to the mapping outputs at the mapping level.
When you include a mapplet in mapping, the mapplet computes the value of the outputs and passes the output values to the mapping. You can bind more than one output from a mapplet to the same output at the mapping level. You can also bind system-defined outputs from a mapplet to the mapping outputs.
The following image shows the process to configure mapplet outputs and bind them to mapping outputs:
To bind outputs from mapplets to mapping outputs, perform the following steps:
Create the mapplet.
Define the mapplet output name and the type of aggregation in the
Outputs
view of the mapplet.
Add an Expression transformation to the mapplet and configure the mapping output expression in the Expression
Mapping Outputs
view.
Add the mapplet to a mapping.
Create mapping outputs in the mapping.
Bind the outputs from the mapplet to the mapping outputs.