Nuxeo Online Services

Life Cycle

Updated: September 18, 2017 Page Information Edit on GitHub

Concept

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..

Editing a Lifecycle

  • 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.
7 days ago GitHub Fix formatting
3 years ago Manon Lumeau 5
3 years ago Frédéric Vadon 4 | typo
5 years ago Alain Escaffre 3
5 years ago Alain Escaffre 2
5 years ago Benjamin Jalon 1
History: Created by Benjamin Jalon