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 |
|
- Advanced functions
- Service Manager Macros
- Publish and subscribe
- Scripting
- Scripts
- Script forms
- Script flow
- Scripting processing flow
- Diagramming the script flow
- Using fill boxes in script forms
- Executing scripts
- Script reports
- Access a script record from a menu
- Access a script record from the Database Manager
- Create a script
- Define the scripts
- Define an initial script in an Incident Management profile record
- Execute a script from a displayoption
- Execute a script from Format Control
- Delete a script
- Print a report on a script
Scripting
Rapid Application Development (RAD) code controls the screen flow within Service Manager applications. Scripting enables you to interrupt the normal screen flow to display a series of forms or execute decision-tree processing without modifying the original RAD code. Scripting does not affect the RAD screen flow.
When scripting is useful
Scripting is useful for any process that requires an operator to supply prerequisite information. For example, during the incident determination cycle you can create a script flow for operator-entered data. Based on how a caller replies to questions regarding the incident, your script determines which screen the operator sees next. While the script is executing, the operator-entered data is accumulated in a file variable which is returned to the calling application when the script is complete.
When a script displays a form
During execution when a script displays a form, it has the look and feel of a customized RAD application and can be used in place of most RAD routines designed to gather data from a caller. Each script can display a standard form and execute its Format Control record. The instructions in the Format Control record where there is a condition on "display" that evaluates to true will be executed before the form opens, and the instructions where there is a condition on "add" that evaluates to true will be executed after the user clicks OK. If a Format Control definition fails (an error condition is detected), the user returns to the last script form.
When multiple complex decisions must be made
Scripting is also beneficial when multiple complex decisions must be made in order to reach a conclusion. For example, Change Management approval requirement conditions are normally based on the data contents of one field in the change record. Such a condition might be expressed as header,risk.assessment in $cm3r>4. However, there may be circumstances where the approval requirement condition is based on the values of several different fields. For instance, there may be three fields that affect the approval requirements: division, area, and department. Hard coding all the possible combinations of these field values into condition statements in RAD involves a great amount of work and would be nearly impossible to maintain. You can define these conditions in scripting records which do not display forms but that allow you to call a RAD subroutine or execute standard Service Manager processing statements (similar to Format Control calculation statements). These options allow for the manipulation of record data. At run time, the script is a decision-tree which results in significant processing reductions over the original method of RAD coding.
Related concepts
Script flow
Scripting processing flow
Diagramming the script flow
Using fill boxes in script forms
Executing scripts
Script reports