Skip to main content

State Engine

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

AttributeRequiredDescription
FromYesDefines the source field for the mapping.
ToYesDefines where the result should be inserted.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function TypeYesMust be "Enrichment/lookup functons"
FunctionYesShould be set to "State Engine Mapping".