You can use the Add User-Defined function to define variables in a message map that are defined in the local environment tree, such as in the Variables folder.
LocalEnvironment.Variables.value_name
In
this example, Variables is a generic element, and
you must define the required elements in it for each value_name.
You can also set values in the output local environment, Destination.specific_node,
to override the behavior of a following node. For example:LocalEnvironment.Destination.RouterList.DestinationData[1].labelName
LocalEnvironment.Destination.REST.Parameters.parameter_name
In
this case, Parameters is a generic element, and you
must define the required elements in it for each parameter_name.LocalEnvironment.Destination.Loopback.Request.filter.order[1].name
In
this case, the order is a generic element, and you must define the
required elements in it for each name.To configure the local environment tree Variables or other generic element, so that you can use its elements as part of your transformations, complete the following steps:
You have a message assembly structure that includes the local environment tree, and its Variables folder includes an any element, and other elements.
Define transforms between the input local environment tree and the output local environment tree. For more information, see Specifying a transform (mapping operation) and Transform types in the Graphical Data Mapping editor.