Tree picker examples

The sections below include tree picker examples.

Simple dependent fields

It is also possible to add the tree-picker attribute on a reference field that depends on a reference field of a different type. For example, if Assigned to depends on Assignment group, it is possible to add the tree picker attribute on Assigned to. The result is a one-node tree for the group and its members.

Figure 1. Tree picker on a reference field

Dependent fields

In this example, there are two CI reference fields, and one depends on the other. The dependent one has the tree_picker attribute:

Figure 2. Tree picker on a dependent field
Tree picker on a dependent field

For this example, the configuration item is Bond Trading. The tree picker for the Dependent CI field shows all downstream and upstream relationships for that CI. The small orange square icon above a relationship indicates that the CI, lawson, already has an open task against it. Pointing to the orange square displays a pop-up window with information about the open task.

Note: Dependencies for CIs are enforced only when the dictionary entry for the reference field has tree_picker=true in the Attributes field.