|
|
|
[[_TOC_]]
|
|
|
|
|
|
|
|
For any instance, states and a corresponding a workflow may be defined. Using them it's possible to define who can do which action (transition) which which instance in which state.
|
|
|
|
|
|
|
|
E.g. a contract is entered by an employee, then has to be approved by a supervisor (and cannot be changed any longer at that point by the employee).
|
|
|
|
|
|
|
|
To move an instance from one state to the other, a transition must be used. If and which state change a transitions will perform is visible in the definition of the transition in the universe - "preStateID" and "postStateID". These will be empty if no workflow/states are defined on an entity.
|
|
|
|
|
|
|
|
A visualization of a workflow might look like this:
|
|
|
|
|
|
|
 |
|
 |
|
|
|
\ No newline at end of file |