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
- Open Administration → Config Management → LifeCycle Maps and create a lifecycle map with +, or use an existing one such as EP_Default.
- Open the entity type and switch to the tab Life-Cycles. Link the lifecycle map with Link existing.
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.
Choosing the map in the LifeCycle Builder
The released map EP_Default is read-only
Toolbar
| Button | What it does |
|---|---|
| Vertical layout / Horizontal layout | Arranges the nodes from top to bottom or from left to right. |
| Add Node | Creates 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 node | Adds the start node. Connect it to a status to make that status the initial status — see Initial Status. |
| Add Final Node | Adds 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
The map EP_Default_CM in edit mode: status cards and transitions
Each node is a card:
| Field | Saved |
|---|---|
| Name | Cannot be changed here. |
| Label (per language), number | When you leave the field. |
| Color | When you pick it. |
| is released | At once (The status was saved.). Marks a released status. |
| is read-only | At 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.
- Click Add start node in the toolbar.
- 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
- Click the status and press Delete or Backspace.
- 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.
Positions of the nodes are not saved; the layout is computed automatically.