Apply To All Transformation

An ApplyToAll Transformation applies an Expression Transformation to all mapped elements. This transformation is useful when applying a common Expression Transformation to all data without the need to build multiple Expression Transformations.

Related: Expression Transformation

Steps

To use an ApplyToAll transformation, drag and drop the ApplyToAll from the Transform Group in the Flow toolbox to the flow designer.

../_images/ApplyToAll.png

Map all the data to the ApplyToAll transformation created on the flow designer. These are all the data that a common expression will be applied to.

The properties window is also where the expression to be applied is specified. A parameter called $FieldValue will be available for an expression to be applied to. This will represent all of the data that was mapped to the ApplyToAll transformation.

Sample

In this example, we are going to apply an Expression transformation to two string fields to convert them into lower case values.

../_images/ApplyToAll2.png

The properties for ApplyToAll will give you the option to add an expression to a $FieldValue parameter. This will apply the expression to all of the mapped elements on the transformation.

../_images/ApplyToAll3.png

The ApplyToAll transformation takes the MaritalStatus and Gender field parameters and transforms them to lower case values.