Query Node Conditions

You can add conditions to the query nodes and relationships of a TQL query in the Query Node Properties dialog box. The conditions filter the query results by retrieving only CIs and relationships that match the conditions defined in the query. There are several types of conditions you can define:

  • Attributes. Conditions based on CI property values.

  • Cardinality. Conditions based on the number of related query nodes.

  • Qualifiers. Conditions based on CI type qualifiers.

  • Element type. Conditions based on CI subtypes. See below for details.

  • Identity. Conditions based on CI element IDs.

Each one has a separate tab in the dialog box. For details, see Query Node/Relationship Properties Dialog Box.

When you define an attribute condition using the attribute name CI Type, the condition is converted to a complex type condition when you save the query. The condition disappears from the Attribute tab and appears in the Element Type tab. For Enrichment and Impact type queries, the condition disappears from the Attribute tab in Enrichment Manager or Impact Analysis Manager, and you need to open the query in Modeling Studio to edit it in the Element Type tab.

Note If you define an attribute condition that is not supported for the selected data, the condition is ignored during the TQL query calculation.

Related Topics Link IconRelated Information