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 |
|
Logical operators
Logical operators evaluate Boolean expressions and determine whether the entire expression is true or false based on the operator used.
You can use logical operators to do the following:
- Construct simple queries that return true, false, or unknown results using Boolean logic.
- Perform queries using combinations of logical operators that are not available to use with the Record list query method, use the Retrieving records method from the query window.
Operator | Symbol | Usage | Operation |
---|---|---|---|
AND | & | value AND value | Returns TRUE if both component conditions are TRUE. Returns FALSE if either is FALSE. Otherwise returns UNKNOWN. |
OR | | | value OR value | Returns TRUE if either component condition is TRUE. Returns FALSE if both are FALSE. Otherwise returns UNKNOWN. |
NOT | ~ | not value | Returns TRUE if the following condition is FALSE. Returns FALSE if it is TRUE. If it is UNKNOWN, then it remains UNKNOWN. |
Logical operators take precedence in the following order: (1) NOT, (2) AND, (3) OR.
Results of applying the NOT operation to an expression:
-- | TRUE | FALSE | UNKNOWN |
---|---|---|---|
NOT | FALSE | TRUE | UNKNOWN |
Results of combining two expressions by using AND:
AND | TRUE | FALSE | UNKNOWN |
---|---|---|---|
TRUE | TRUE | FALSE | UNKNOWN |
FALSE | FALSE | FALSE | FALSE |
UNKNOWN | UNKNOWN | FALSE | UNKNOWN |
Results of combining two expressions by using OR:
OR | TRUE | FALSE | UNKNOWN |
---|---|---|---|
TRUE | TRUE | TRUE | TRUE |
FALSE | TRUE | FALSE | UNKNOWN |
UNKNOWN | TRUE | UNKNOWN | UNKNOWN |
Related concepts
Relational operators
Wildcard characters
Retrieving records by using the record list method
Retrieving records using the Query window method
Using ranges in queries
Related tasks
Create a query using an or statement or an and statement
Perform IR Expert queries
Retrieve records within a range
Use the not symbol with logical or relational operators
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: