When you use a dynamic expression in an Aggregator, Expression, or Rank transformation, you can create an expression parameter. The expression parameter contains a complete expression.
Example
You work for a consulting firm in the infrastructure sector that collects data on the forces that weather phenomena exert on different locations in the architecture of a building. You want to use a dynamic mapping to transform the data that you collect and round the value of the force that is exerted.
In the dynamic mapping, you use an Expression transformation that receives the following generated input ports:
that has a selection rule to include ports that have the prefix
Force_
. You also create a dynamic output port
Dynamic_Forces
and use an expression parameter for the dynamic expression. The default value of the expression parameter is the following expression:
CEIL(Port_Selector_Force)
You can also use the expression parameter in multiple parameter sets. For example, the default value of the expression parameter in the one parameter set might be
CEIL(Port_Selector_Force)
. In another parameter set, the default value of the expression parameter might be