How to Add Constant Values
When testing maps, you will sometimes want to set constant values for use during the test.
Set constant values for nodes in the source or destination schema trees
Select a record or field in the source or destination schema trees.
In the Properties window, in the General category, use the Value property to enter a value for the selected record or field.
Note
You can only associate a value with a record with its Content property set to Text Only or Mixed.
For a node in source schema, if you set the Value property to <empty>, the generated instance message for the source schema contains an empty value for the respective node.
Sometimes, you do not use all the fields in the target schema, i.e. some of the fields in the target schema do not have any incoming links. In such cases, the Test Map operation throws error, provided that the Validate TestMap Input or Validate TestMap Output properties are set to True. To avoid Test Map errors in such cases, set the Value property of the node to either a constant value or <empty>. Use <empty> if you do not want to set arbitrary data for unused target schema fields.