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
| Attribute | Required | Description |
|---|---|---|
| from | Y | Defines the source field for the mapping. |
| to | Y | Defines where the result should be inserted. |
| Function | Y | Should be set to "In-Memory State Changes". |
| Function type | Y | Must be "Enrichment" |