Transitions interface

The Transitions object stores information about the currently available transitions for a WorkflowInstance, available as M.transitions.

Interface

property list

An array of all valid transitions, represented by Transition objects.

property empty

true if there are no valid transitions.

function has(transition)

Returns true if the named transition is valid for this state.

function properties(transition)

Returns a Transition with information about the named transition, or undefined if this transition is not valid.