VocalDocscontracts 1.65.0

MachineState

The value of the machine (statecharts-and-squads.md 2.6, rule 8): its status, the active state per region and the counts that the state root of the Call context carries (orchestration-layer.md 3.4), and from 1.58.0 the slots, timers, queued events and per-Turn counts of an authored machine.

An object with 12 fields.

Fields

FieldTypeRequiredDescription
activemap of MachineIdyesThe active state of each region while the machine runs; empty otherwise.
handoffsintegeryesHandoffs taken in the Call; none on the implicit machine.
nodesmap of WorkflowNodeResultnoA Workflow machine (1.59.0): the result of each node that ran, by node id, which expressions read as nodes.<id>. Content, never logged.
queuedarray of MachineEventnoAn authored machine (1.58.0): the events the machine raised for itself (slot.filled, slot.cleared), which the Session processes before any other.
slotsmap of anynoAn authored machine (1.58.0): every declared slot's value, null when empty.
statusMachineStatusyes
timersarray of MachineTimernoAn authored machine (1.58.0): the timers started and not yet fired or cancelled.
transitionsintegeryesState changes taken in the Call; none on the implicit machine.
turn_handoffsintegernoAn authored machine (1.58.0): handoffs taken in the current Turn.
turn_refusalsintegernoAn authored machine (1.58.0): proposals refused in the current Turn.
turns_in_stateintegeryesTurns closed since the speaker state was last entered.
visitsmap of integeryesHow many times each state has been entered in the Call.