Skip to main content

In-Memory State Changes

The In-Memory State Changes mapping (statechange) compares the current values of specified fields to their previously cached values. It uses an in-memory cache with configurable expiry and capacity. If any field value has changed, the result at the to path is set to true, otherwise false. If to is set to DISCARD, unchanged messages are marked for discard.

Attributes for In-Memory State Change Detection

AttributeRequiredDescription
fromYDefines the source field for the mapping.
toYDefines where the result should be inserted.
FunctionYShould be set to "In-Memory State Changes".
Function typeYMust be "Enrichment"