CheapWorkflow.java | Class | Simple implementation of Workflow, relies on the Transition tables, where every record defines a
transition available for a given Role, from an option to another.
- If there are no transitions defined, it will always return true
- If the "from" option of a transition is null, it will mean "Any option", and the "To" will
be available from any option.
- If the "to" option of a transition is null, any option will be available from the "From" option.
- If both the 'to' and 'from' options are null, the role will be able to change freely from one value
to another.
If any transition happens to have associated Conditions, will only be available when this condition
evals to true. |