Skip to content
Settings

TransitionDefinition

Definition of a state transition

TransitionDefinition

Definition of a state transition

namestring
Name of the transition
nextstringrequired
Target state code for this transition
manualbooleanrequired
Whether this transition requires manual triggering
disabledboolean
Flag indicating if the transition is disabled
processorsarray
List of processors to execute for this transition
Criterion that must be met for this transition to be effective. Supported criterion types in workflows: 'group', 'simple', and 'function'.

Definition of a state transition

  • name (string): Name of the transition
  • next (string, required): Target state code for this transition
  • manual (boolean, required): Whether this transition requires manual triggering
  • disabled (boolean): Flag indicating if the transition is disabled
  • processors (array): List of processors to execute for this transition
  • criterion (object): Criterion that must be met for this transition to be effective. Supported criterion types in workflows: ‘group’, ‘simple’, and ‘function’.

See other schemas in the common category.