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:

AttributeRequiredDescription
FromYesSpecifies the field name from which data is sourced.
ToYesSpecifies the field name to which data is mapped.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function TypeYesMust be "Enrichment/lookup functons"
Function typeYesShould be set to "Enrichment/lookup functions".
FunctionYesMust be "lookup table", indicating the use of a lookup table for data mapping.
Lookup tableYesIdentifies the specific lookup table to be used for mapping.
Default valueNoSpecifies 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:

AttributeRequiredDescription
FromYesDefines the original value to look for in the table.
ToYesDefines the new value to replace the original.