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 |
|
Statements
Statements are the smallest executable entities within HPE Service Manager. A statement is governed by the following rules.
- A statement does not have a value.
- A statement is comprised of expressions combined with key words.
- The following BASIC language statements perform processing and looping: IF, WHILE and FOR. They can be nested. For example, for...to...if...then...else...if...then.
- The following assignment statements are used: assign, increment, and decrement.
- RAD functions can be used in statements to further define selection criteria and/or execute commands, initialize values, and perform calculations. Service Manager syntax rules must be followed. The result of a RAD function can be assigned to a variable using the assign (=) assignment statement. For example,
$string.length=lng($string)
.
The following table lists all of the statements available in Service Manager.
Type | Name | Character | Description and Examples |
---|---|---|---|
Assignment | Assign | = |
Assigns the value of the right hand operand to the left hand operand. Example: $x=1 assigns 1 to $x |
Assignment | Increment | + = |
Increment the left hand operand by the right hand operand. Example: traditional: $x=$x+1 increments $x by 1 |
Assignment | Decrement | - = |
Decrement the left hand operand by the right hand operand. Example: traditional: $x=$x-1 decrements $x by 1 |
Processing and looping | FOR |
Allows you to perform a loop. You can set a variable, perform a statement, and increment the variable until the variable is greater than a maximum value. Format this statement as follows: FOR variable name = initial value TO maximum value [DO] statement The brackets ([ ]) indicate that the DO keyword is optional. Example: for $I = 1 to 10 do ($J=$I*$I+$J) |
|
Processing and looping | IF |
Specifies a condition to be tested and a statement to be executed if the condition is satisfied and a statement to be executed if the condition is not satisfied. Format these statements as follows: IF Boolean condition THEN statements [ELSE statements] Example:
If Boolean condition evaluates to UNKNOWN, then neither statement is executed; therefore, HPE recommends using a default value when the condition evaluates to UNKNOWN. Example:
|
|
Processing and looping | WHILE |
Specifies a condition to be tested and a statement to be executed when the condition is TRUE. Format these statements as follows: WHILE (expression) [DO] statement Example: while ($x>6) do ($x=$x - 1;$y=$y - 1) The brackets ([ ]) indicate that the DO keyword is optional. |
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: