Creating Direct Maps
Last updated
Last updated
© Copyright 2023, Astera Software
Direct map is used when data from an object should flow to another object without any changes to the data. The data is transferred ‘as is’ from a designated field in the upstream object to a designated field in the downstream object.
Note: The data may still get converted to fit the destination field’s data type.
Direct maps are displayed as solid lines on the dataflow.
An example of what a Direct Map might look like is shown below:
To create a direct map between the fields of two objects, drag the field’s input port of the downstream object and drop it on the field’s output port of the upstream object.
There are four direct map types:
Value Map: This is the default map type. It is always created when a new map is created between two fields. A Value map transfers the field’s value between the two mapped fields.
Field Name: This map type will write the source’s field’s name to the destination field. Note that the destination field should have a suitable data type, such as String.
Field Header: This map type will write the source’s field’s header to the destination field. Note that the destination field should have a suitable data type, such as String.
Field Data Type: This map type will write the source’s field’s data type to the destination field. Note that the destination field should have a suitable data type, such as String.
To change a map type, right-click on the map line and select Change Map Type from the dropdown.
The objects in this dataflow example are connected via direct field maps. Direct maps make it possible to connect the source field to the mapped destination field.