A lifecycle is a set of states and transitions that apply to a document. One of the states is marked as being the "initial state" and is the state of the document when it is created. States that the document can hold depend on the transitions that are set between the states. Default lifecycle in Nuxeo contains following states: project, approved, obsolete. One could see lifecycle just as yet another metadata with a controlled list of values, but actually the framework provides API around lifecycle management, such as ability to "reset" the lifecycle of a document, and ability to "follow" a transition.
- You need to drop one and only one initial state.
- You can drop as many states as you want.
- From one state you can pull an arrow to another state and give a name to the transition by clicking on the edit icon that appear if you let the mouse over.
- Filling transitions name is not mandatory, the system will automatically name them with the rule : "to_"+state name.
- It is possible to have several arrows with the same transition name.