Use > Modeling > Introduction > Topology Query Language > How to Define a Complex Type Condition - Scenario

How to Define a Complex Type Condition - Scenario

This section describes how to define a complex type condition in the Query Node Properties dialog box. In this example, you add subtype conditions to a Node query node in a TQL query.

To define a complex type condition:

  1. Create a TQL query and drag a query node of type Node onto the editing pane.

  2. Right-click the query node and select Query Node Properties. The Query Node Properties dialog box opens.

  3. Select the Element Type tab and select Customize subtypes.

  4. In the CI Types pane, select Computer, and in the Conditions pane, select Exclude <Computer> from the query. Select the Apply this condition recursively on all subtypes of <Computer> check box. This excludes all CIs of type Computer and its descendants in the query results.

  5. In the CI Types pane, select Unix, and in the Conditions pane, select Include <Unix> in the query. This includes all Unix CIs in the query results.

  6. In the CI Types pane, select IBM Frame, and in the Conditions pane, select Include <IBM Frame> in the query. Then select By qualifiers and select the CONTAINER qualifier. This includes all IBM Frame CIs with the CONTAINER qualifier in the query results.

  7. In the CI Types pane, select Firewall, and in the Conditions pane, select Exclude <Firewall> from the query. Select By qualifiers and select the HIDDEN_CLASS and MAJOR_APP qualifiers. This excludes all Firewall CIs with the HIDDEN_CLASS and MAJOR_APP qualifiers from the query results.

  8. Click OK to save your conditions and exit the dialog box.

Related Topics Link IconRelated Information