Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
Append stored queries
Applies to User Roles:
System Administrator
You can add, edit, or run stored queries from the Query window, which is accessible from the form in Database Manager or from the Application search form. Data entered into the from is automatically entered into the Query window to form the query. Depending on your permissions, you can edit and run that query or select a query from a list of stored queries.
Note: You must have the capability word QueryAdmin or query.stored.mod operator record to add or edit stored queries.
In this example, two stored queries for Incident Management (the probsummary file) are joined and saved.
To append stored queries:
- To open the query window from a HPE Service Manager application:
Open the application Search form.
For this example, click Incident Management > Search Incidents.
- Open the More Actions menu.
Choose Expert Search.
The query window opens.
- To open the query window from a Database Manager search form:
Open the form in Database Manager.
For this example, type =probsummary in the Form field, and then press Enter.
- Open the More Actions menu.
Choose Expert Search.
The Query window opens.
- Click Select to display the list of stored queries for the associated file, and then double-click a query to select it.
For this example, select deadline. The Stored Query record opens.
- Click Select.
Service Manager returns you to the list of queries.
- Select another query from the list.
For this example, select pri.1. The Stored Query record opens with additional buttons on the toolbar.
- Click one of these buttons to use this query in addition to the one you selected previously.
- Click Append using & to add this query after the previous one using the and (&) operator.
- Click Append using | to add this query after the previous one using the or (|) operator.
- Click Insert using & to add this query before the previous one using the and (&) operator.
- Click Insert using | to add this query before the previous one using the or (|) operator.
For this example, click Append using &.
- You can click Execute Search to run the query without saving it or click Store to save your modified query for future use.
For this example, click Store. The Stored Query Maintenance form opens.
- The value in the Name field is that of the last appended or inserted stored query, pri.1.
- The value in the Query field is the new query you created. (flag=true and status#"DEADLINE" and problem.status~="Cleared" and flag=true and priority.code="1").
- For this example, enter the following information:
- Give the query a unique Name. For this example, type pri.1&deadline.
- Add a Description. For this example, type Priority 1 records in deadline alert.
- Edit the Query, if necessary. For this example, delete the second
and flag=true
. - Specify any other controls you want.
-
Click Add.
Service Manager returns you to the Query window and displays the message: “Query added to querystored file”.
- You can click Execute Search to run the saved query at this point, or click Back to exit.
Related concepts
Record retrieval
Retrieving records using the Query window method
Stored queries
The Database Manager utility
More Actions menu
Related tasks
Add a stored query
Add a stored query
Create stored queries from the Query Maintenance form
Update a stored query
Run a stored query
Related references
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: