Sources and Destinations

Describe null and missing-value handling controls in schema mapping

Objective

After completing this lesson, you will be able to describe null and missing-value handling controls in schema mapping

Null and Missing-Value Handling in Mapping

(Change to an Existing Feature)

Two mapping controls give you deterministic handling of absent data: the Manage Missing Value transformation type (for attributes missing from the payload) and null handling for code-list–validated attributes.

What Changed

Schema mapping previously had limited, implicit behavior when a source attribute was absent or null. Two explicit controls are added: a Manage Missing Value transformation for both inbound events and outbound actions, and a new Handle null values section in the Transformations window for attributes validated by a code list or allowed-values list.

Why It Matters

Incoming data varies across systems and channels — some omit attributes, some send nulls. Left unmanaged, that produces inconsistent structures for segmentation, or lets nulls disrupt code-list validation. Explicit handling improves data consistency, governance and reliability across every integration.

Manage Missing Value Transformation

For a target attribute you can define what happens when the mapped source value is missing:

Default value

A constant, or a system-generated value: Random UUID, Today (YYYY-MM-DD, UTC), or Now (ISO 8601 timestamp, UTC), evaluated at runtime.

Null

Assign null when the source value is missing.

Fail event or action

Discard the whole payload when a mandatory attribute is missing, evaluated during mapping independently of schema-level required validation.

Supported target types are Boolean, Integer, Number, String, Date and Date-Time. It is available on both inbound event and outbound action mappings.

Transformations including missing-value handling in schema mapping

Null Handling for Code-List-Validated Attributes

When mapping an attribute that has code-list or allowed-values validation, a new Handle null values section lets you define how nulls are treated, preventing unnecessary disruptions caused by null values reaching a validated field.

In Practice

Use a constant or system-generated default to guarantee a consistent channel classification or a required identifier even when the source omits it; use Fail for truly mandatory fields where a bad record should be rejected rather than silently defaulted. Configure null handling on code-list fields so a missing value does not break validation downstream.