Sidebar

Using iTop

Creating your iTop

iTop Customization

"How to" examples
DataModel

User Interface

Automation & Ticket management

Portal Customization

You are browsing the documentation for iTop 3.1 which is not the current version.

Consider browsing to iTop 3.2 documentation

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>
3_1_0/customization/create-in-different-states.txt ยท Last modified: 2024/05/17 09:16 (external edit)
Back to top
Contact us