VocalDocscontracts 1.65.0

MachineNode

Embeds a statechart; each final state is an outlet. Authoring a machine is P1.

An object with 10 fields.

Fields

compensateWorkflowRef
Process scope: the subflow that undoes this node's effect if the instance is cancelled or fails later.
edgesmap of WorkflowNodeId
From each outlet the node type declares to the id of the next node; every declared outlet is mapped.
final_statesarray of WorkflowNamerequired
idWorkflowNodeIdrequired
inputmap of ZenExpression
Named ZEN expressions evaluated before the node runs, typed against the node's input schema.
Writes fields of the node's output to declared slots (conversation) or vars (process).
statechartmap of anyrequired
The statechart, inline or a pinned reference.
Every node that waits has one, with a default per type.
type"machine"required