State Machine

Contents

State Machine


Add action


Use context menu or action toolbox to add State Machine action to workflow scheme.

  • Click on the area with (Edit) icon on the scheme and:
  • Select category Logic and Flow;
  • Choose State Machine.
  • In action toolbox:
  • Select category Logic and Flow;
  • Drag and drop State Machine action to the area with (Edit) icon on the workflow scheme.

Configure action


Open action configuration dialog to edit action properties:

  • Open action context menu on the scheme and choose Edit;
  • Or double click the action on the scheme.

Action properties


Use configuration dialog to edit action properties:

Property Description
Title Defines action title.
By default the title is action type name.
States A set of possible states.
Initial state The processing of the action will begin from initial state.

Examples

Three-states state machine:

Deleting a state also deletes all nested actions.

Next state must be set for each state. If workflow engine can’t find the next state at the end of the current state, it runs the current state branch again from the beginning.