Configuring a Mapping Output Expression in a Mapplet
Configuring a Mapping Output Expression in a Mapplet
Configure the expression to aggregate for each row that the mapplet processes.
Add an Expression transformation to the mapplet.
Consider the mapplet logic before you decide where to place the transformation.
In the Expression transformation, click the
Mapping Outputs
view.
Click
New
to add an output expression.
The Developer tool creates a mapping output with a output name that matches one of the mapping outputs you created at the mapplet level. You might have more than one output to choose from.
Enter an expression with the Expression Editor.
The expression can contain a port name or it can contain functions, ports, and parameters.
Click
Validate
to verify that the expression is valid.
Click
OK
to save the expression.
The following image shows the
Mapping Outputs
view with a mapping output expression that calculates a sales tax: