Use > Modeling > Introduction > Topology Query Language > Topology Query Language User Interface > Add/Edit Compound Relationship Dialog Box

Add/Edit Compound Relationship Dialog Box

This dialog box enables you to define the connection between two query nodes using a compound relationship.

To access

To access in Enrichment Manager, Impact Analysis Manager, and the Modeling Studio:

Right-click the required query nodes in the editing pane in Enrichment Manager, Impact Analysis Manager, or the Modeling Studio and select Add Compound Relationship.

Note If you are using Enrichment Manager, select Query mode at the top of the editing pane to display the Add Compound Relationship option.

To access in Adapter Management in DFM:

  1. Select an adapter in the Resources pane.

  2. In the Adapter Definition tab, click the Edit Input Query button to the right of the Input Query box to open the Input Query Editor.

  3. Right-click the required query node and select Add Compound Relationship.

Important information You can create as many compound definitions as necessary.
Relevant tasks
See also

User interface elements are described below:

UI Element (A-Z) Description

Add. Adds a compound definition.

In Impact Analysis Manager, Enrichment Manager, and the Input Query Editor in DFM, it opens the Add Triplet dialog box. In the Modeling Studio, it enters a default compound definition in the table. Click the Edit buttons to edit the definition components.

Delete. Deletes the selected compound definition.

Condition. Enables you to edit the selected compound definition.

In Impact Analysis Manager, Enrichment Manager, and the Input Query Editor in DFM, it opens the Edit Triplet dialog box. In the Modeling Studio, it opens the Compound Relationship Condition Definition dialog box.

Max steps

The longest path allowed between the two CIs in the CMDB to be included in the discovery process.

Default: 5

Min steps

The shortest path allowed between the two CIs in the CMDB to be included in the discovery process.

Default: 1

Relationship The relationship connecting the two query nodes.
Relationship Direction The direction of the relationship that indicates which query node is dependent on the other.
Relationship Name The name of the compound relationship.
Relationship Restrictions

Select an option to define how to handle relationships between identical query nodes or self relationships in the query results. A self relationship is a relationship that leads from a query node to itself.

Note This list appears only when you select one query node or two identical query nodes.

  • Allow All Relationships. All relationships appear in the query results.

  • Allow Self Relationships only. Only self-relationships (a relationship that leads to itself) appear in the query results.

  • Allow Non Self Relationships only. Self-relationships do not appear in the query results.

Show element in query results

Select Show element in query results to include query results relating to a join or compound relationship. By default, this option is selected. When the check box is cleared, a Hidden in Query Results indicator appears to the left of the relationship's name in the editing pane, denoting that any query results pertaining to the relationship are not displayed in the topology map.

Show full path between source and target CIs If you select this option, then the query results display the actual names of the relationships that link the CIs and the full path between the source and target CIs.
Source The required source query node.
Stop at first compound level

Select this option if you want the system to stop looking for TQL query results once it reaches the first target in the path.

In the following sample compound link definition, Depth is defined as 10 and Stop at first compound level is selected.

The TQL query results include the Target 1, Target 3, and Target 4 because they are all at level 1 (the first CI found in the path). Target 2 is not included in the TQL results because it is at level 2 (the second CI found in the path).

Target The required target query node.