State Engine Mapping
The State Engine Mapping (stateengine) queries MongoDB for previously saved messages that match on one or more field values defined via the fields parameter. The matching documents are filtered, cleaned, and inserted into the current message at the to path. This mapping uses historical context for state-based workflows.
Attributes for State Engine Mapping
| 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 "State Engine Mapping". |
| Category | Y | Must be "Enrichment" |