Skip to main content
Version: Next

Lifecycle

A lifecycle defines the statuses an entity runs through — for example In Work, Review, Released — and which status changes (transitions) are allowed. The concepts are explained in Lifecycle.

Create a Lifecycle and Assign It​

  1. Open Administration → Config Management → LifeCycle Maps and create a lifecycle map with +, or use an existing one such as EP_Default.
  2. Open the entity type and switch to the tab Life-Cycles. Link the lifecycle map with Link existing.

Life-Cycles tab of Organization The lifecycle of the entity type Organization

From now on, new entities of the type start in the initial status, and users can change the status with Status Change (see Change the Status). Entities that existed before have no status and no status button.

The LifeCycle Builder​

Open Administration → Config Management → LifeCycle Builder and choose the map under Select a Lifecycle Map. The builder shows the statuses as nodes and the transitions as arrows. Next to the selector, a label shows whether the map is Editable or Released (read-only). A released map cannot be changed: every attempt shows This Lifecycle Map is released. Changes are not allowed.

The builder cannot create new lifecycle maps — create them under LifeCycle Maps.

Selecting a lifecycle map Choosing the map in the LifeCycle Builder

Released lifecycle map The released map EP_Default is read-only

Toolbar​

ButtonWhat it does
Vertical layout / Horizontal layoutArranges the nodes from top to bottom or from left to right.
Add NodeCreates a new status New Status and adds it to the map. Saved at once: The status was created and added to the Lifecycle Map.
Add start nodeAdds the start node. Connect it to a status to make that status the initial status — see Initial Status.
Add Final NodeAdds an end marker to the diagram. It is for display only and is not saved.

There is no Save button: most changes are saved immediately.

Edit a Status​

Editable lifecycle map The map EP_Default_CM in edit mode: status cards and transitions

Each node is a card:

FieldSaved
NameCannot be changed here.
Label (per language), numberWhen you leave the field.
ColorWhen you pick it.
is releasedAt once (The status was saved.). Marks a released status.
is read-onlyAt once. Entities in this status cannot be edited — the Data Sheet and inline editing are locked. Actions can still run.

Transitions​

  • Add: drag from the Forward handle of a status onto another status. The transition is saved at once: The transition was saved. If it exists already: This transition already exists.
  • Delete: click the arrow and press Delete or Backspace: The transition was deleted.

The label of a transition cannot be edited in the builder.

Initial Status​

The initial status is the status in which new entities start.

  1. Click Add start node in the toolbar.
  2. Drag a connection from the start node to the status. The status becomes the initial status of the map: Initial state saved.

To remove the initial status, select the connection (or the start node) and press Delete or Backspace: Initial state removed. When you open a map that has an initial status, the start node and its connection are drawn automatically.

Remove a Status​

  1. Click the status and press Delete or Backspace.
  2. Confirm the question Remove link? with Unlink.

The status is removed from this map together with all its incoming and outgoing transitions: The status and its transitions were removed from the Lifecycle Map. The status itself is kept. The status entity itself is not deleted, so other maps can still use it.

note

Positions of the nodes are not saved; the layout is computed automatically.