Nuxeo Online Services

Life Cycle

Updated: October 22, 2018 Page Information Edit on GitHub

Nuxeo University
Watch the related courses on Nuxeo University

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

Lifecycle
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.
2 months ago manonlumeau NXDOC-1650 fix about integrating changes, add mention on multiple attempts
4 years ago Manon Lumeau 5
5 years ago Frédéric Vadon 4 | typo
6 years ago Alain Escaffre 3
6 years ago Alain Escaffre 2
6 years ago Benjamin Jalon 1
History: Created by Benjamin Jalon

We'd love to hear your thoughts!

All fields required