Additional creation state
Prerequisite: Get familiar with the Syntax used in Tutorials
- learning:
- Allow creation in more than one state within a lifecycle
- level:
- Medium
- domains:
- XML, Automation, Lifecycle
- min version:
- 2.3.0
Goal
Let's assume we have a class Task
with a lifecycle,
and by default Task
are created in a new
state.
We want to allow also the creation of a Task in another state:
template
with the Designer
Prerequisite: You must be a Combodo's customer
This action can only be performed by Combodo.
with an iTop Extension
Prerequisite: Have a look at this tutorial: Add state and transition.
Within the template
state declaration, just add 3
rows, and job done:
- itop_design / classes / class@Task / lifecycle
-
<states> <state id="template"> <initial_state_path> <state_ref _delta="define">new</state_ref> </initial_state_path>
latest/customization/create-in-different-states.txt ยท
Last modified: 2024/09/10 10:25 by 127.0.0.1