How queries work
Queries enable you to find instances based on query criteria such as multiple classes, attributes, relationships, and the grouping of query conditions. For example, you can query for all computer systems in Houston or London that are running Microsoft Windows 7.
The following topics explain queries so that you can understand how to create and use them:
- Query structure of CIs and relationships
- Relational-algebra formatting in BMC Atrium Explorer queries
- BMC Atrium Explorer queries with parameters
- Shared and personal queries in BMC Atrium Explorer
You cannot modify the out-of-the-box queries in the Query list, but you can use them as a template for creating new queries. The Find section can also include queries that were created and saved by other users. For more information about creating and saving queries, see BMC Atrium Explorer and building queries.
Pause your mouse pointer on a query name to display a description of that query. If a saved query has an arrow next to its name, you can click that arrow to see the variable conditions for that query.
The results list shows all instances that match the query criteria. Drag an instance from the results list to the display pane to add that instance to the current view. For more information about viewing instances, see Working with related CIs.
When you create configuration item (CI) and relationship instances, you should use the recommendations outlined in the Modeling business entities.
The out-of-the-box queries assume that CI and relationship instances have been created following the best-practice guidelines in Modeling business entities. If you do not follow these recommendations while creating CI and relationship instances, the out-of-the-box queries might ignore these instances while displaying the results list.