Binding Parameters to Override the Parameters at Run Time
Binding Parameters to Override the Parameters at Run Time
When you add a reusable object to a mapping or workflow, bind parameters to higher-level parameters in the parameter hierarchy to override the default value of the reusable object parameter. At run time, the Data Integration Service applies the higher-level parameter to the reusable object.
For example, you create a reusable transformation and a parameter in the transformation. Then you add the reusable transformation to a mapplet. You can either use the default parameter value from the transformation, or you can bind the transformation parameter to the mapplet parameter. Change the default value for the mapplet parameter to override the default value of the transformation parameter at run time.
To bind user-defined parameters, expose the parameters. For example, if you add a reusable transformation to a mapping, expose the transformation parameters as mapping parameters to bind the transformation parameters to the mapping parameters.
The following image demonstrates how the Data Integration Service binds parameters in Developer tool mappings:
The parameter in the transformation binds to the parameter in the mapplet. The transformation parameter uses the default value of the mapplet parameter at run time.
The parameter in the mapplet binds to the parameter in the mapping. The mapplet parameter uses the default value of the mapping parameter at run time.
The parameter in the transformation binds to the parameter in the mapping. The transformation parameter uses the default value of the mapping parameter at run time.