/grails-fsm

Finite State Machine behaviour for domain classes

Primary LanguageGroovyApache License 2.0Apache-2.0

Grails Finite State Machine Behavior For Domain Classes

This plugin injects the ability to define and execute simple workflows into domain classes. The current state of the flows will be held in class-properties, that must be explicitely defined in the class (like 'status' and 'mood' in the example below).

Flow definition will be in a static block called 'fsm_def', which can hold several flow definition, each of them tied to one property in the class.

Official docs: http://grails.org/plugin/fsm