Skip to end of metadata
Go to start of metadata

The Workflow for a Resource class is defined in terms of Resource states and transitions between them.

The transitions come in two flavours, and have the following additional properties

  • Guarded transitions: are performed manually by an appoited users.
    • The required Privilege
    • The action that must be executed before/after the transition is fired.
    • The specified popup screen with form needed to fire the transition.
  • Temporal transitions: happen automatically at defined moments of time.
    • The name of the resource attribute that contains requested transition time
    • Behaviour when date is not defined: make transition instantly, or not make it at all
  • Stochastic transitions: happen instantly after reaching the origin state, if "dice roll" succeeds
    • Dice roll threshold (ranged 0-1)

Each transition has definite origin and destination states. A transition is possible only if the resource is in the origin state, and the additional conditions for the transition are met.

Labels: