Skip to main content

Lookup table

The lookup table mapping provides a powerful means to transform the value of a field based on predefined mappings between possible field values and their desired outputs. This type of mapping is ideal for situations where certain input values must be translated into specific output values based on a defined list, often used for standardizing data, categorizing inputs, or simplifying integration with external systems.

Attributes for Lookup Table Mapping

To set up a lookup table mapping, the following attributes must be defined:

AttributeRequired (Y/N)Description
fromYSpecifies the field name from which data is sourced.
toYSpecifies the field name to which data is mapped.
precedenceNDefines the order in which mappings are applied.
Function typeYShould be set to "Enrichment/lookup functions".
FunctionYMust be "lookup table", indicating the use of a lookup table for data mapping.
lookup tableYIdentifies the specific lookup table to be used for mapping.
default valueNSpecifies a fallback value to be used if no matching entry is found in the lookup table.

Attributes for the Lookup Table

The lookup table itself must be defined separately with these attributes:

AttributeRequired (Y/N)Description
fromYDefines the original value to look for in the table.
toYDefines the new value to replace the original.