Skip to main content

StatePath

@forge/monorepo


@forge/monorepo / backend/src / StatePath

Type Alias: StatePath

StatePath = string

Defined in: backend/src/flows/index.ts:98

A reference into the execution's state, for a step's input and a branch's condition.

A path, not an expression. "$.order.total" reads a value; there is no arithmetic, no comparison operators and no function calls, because an expression language in a stored definition is an interpreter that runs whatever a definition author typed — and the definitions will eventually be authored in a UI by someone who is not an engineer (REQ-042). Comparison lives in the branch, which has a closed set of operators.