VocalDocs

StatechartTransition

One transition of a region: from a state, on an event, subject to requires and a guard, with actions, to a target state, @origin or none.

An object with 11 fields.

Fields

actionsarray of MachineAction
descriptionstring
What the transition means, shown to the model beside the label. The guard is never shown.
fromAuthoredMachineId or array of AuthoredMachineId or "*"required
A state ID, a list of state IDs, or * for every stable state of the region except final ones.
Defaults to always true.
The name the model sees. Required when proposable is true.
The event the transition handles. Absent only, and always, on a transition from an evaluate state.
priorityinteger
Lower values are tried first, then document order. Defaults to 100.
proposableboolean
Whether the model can propose this transition by its label. Defaults to false.
requiresarray of SlotName
Slots that must have a value for the transition to be taken; a refusal lists the missing ones in missing_slots.
toAuthoredMachineId or "@origin" or nullrequired
The target state; @origin, from an evaluate state only, to return to the state the step began in; or null for a transition that only runs its actions.