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 |
|
Example: Enabling custom approvals for Problem Management
The following example illustrates how to enable approvals for Problem Management. At the end of this example, you will be able to:
- Create a problem record that requires an approval
- Assign the problem record to the approval queue
- View and act upon the problem approval
Note In order to enable custom approvals for Problem Management, you must perform the entire sequence of example tasks. You must be a System Administrator, or have equivalent system privileges, to perform the steps in this example. Also, you must use the Windows client whenever you need to add a new field/key to a database dictionary table.
Task 1: Edit the object definition for the application to enable approvals by category.
- Log on to Service Manager with a System Administrator account.
- Click Tailoring > Document Engine > Objects.
-
Type rootcause in the File Name field, and then click Search.
The Object Definition form opens.
-
Click the Approvals tab, and then type the following field values.
Field Value Approval condition true Approval location Category Approval field name approvals Approval status field approval.status Approval type All must approve Approval process rootcause.save Preapprove on open false Note The fields approvals and approval.status fields do not yet exist. You will add the field name to the Problem Management database dictionary in a later step.
- Click Save.
Task 2: Edit the database dictionary for the application to add an approval status field.
- Click Tailoring > Database Dictionary.
- Type rootcause in the File Name field, and then click Search.
- Select the descriptor row in the Fields tab, and then click New Field/Key.
-
Type the following field attributes.
Field attribute Value Name approval.status Type character - Click Add Field.
-
Click OK to save the database dictionary.
Service Manager prompts you to confirm how you want to change the tables in the RDBMS.
-
If Service Manager has write permissions to the RDBMS, click SM Alters. Otherwise, click User Alters.
Service Manager displays the database dictionary.
Note Check your DDL output folder for DDL text you can use to update your RDBMS manually.
Task 3: Edit the database dictionary for the application's categories to add an approval field.
- Click Tailoring > Database Dictionary.
- Type rootcausecat in the File Name field, and then click Search.
- Select the descriptor row in the Fields tab, and then click New Field/Key.
-
Type the following field attributes.
Field attribute Value Name approvals Type array - Click Add Field. Service Manager prompts you to select the array's data type.
- Select character, and then click Add Field.
-
Click OK to save the database dictionary.
Service Manager prompts you to confirm how you want to change the tables in the RDBMS.
-
If Service Manager has write permissions to the RDBMS, click SM Alters. Otherwise, click User Alters.
Service Manager displays the database dictionary.
Note Check your DDL output folder for DDL text you can use to update your RDBMS manually.
Task 4: Edit the necessary forms to add the new approval fields.
- Click Tailoring > Forms Designer.
-
Type problemcat in the Form field, and then click Search.
The Problem Control Category Definition form opens.
- Click Design.
- Click Group.
- Click on an empty space on the form to add the group.
-
Edit the properties of the group as follows.
Property Value Caption Approval Requirements Width 152 - Click Comfill, and then click within the Approval Requirements group.
-
Edit the properties of the combo fill field as follows.
Property Value Input approvals Array Length 5 -
Position the Approval Requirements group as desired.
For example, you may want to position the group between the Active? check box and the Phase name table.
- Click OK to exit design mode.
- Click OK to save the form and return to the Forms Designer search screen.
-
Type PM.pc.investigate.and.diag in the Formfield, and then click Search.
The Problem Control - Problem Investigation and Diagnosis form opens.
- Click Design.
- Click Label, and then click in the open space beneath the Record Number label.
-
Edit the properties of the label as follows.
Property Value Caption Approval Status: X 2 Y 5 Width 34 - Click Text, and then click to the right of the Approval Status: label.
-
Edit the properties of the text field as follows.
Property Value X 36 Y 5 Width 36 Input approval.status Read-Only Selected - Click OK to exit design mode.
- Click OK to save the form and return to the Forms Designer search screen.
Task 5: Edit the database dictionary for the application's profile record to add to an approval groups field.
- Click Tailoring > Database Dictionary.
- Type rcenv in the File Name field, and then click Search.
- Select the descriptor row in the Fields tab, and then click New Field/Key.
-
Type the following field attributes.
Field attribute Value Name approval.groups Type array - Click Add Field. Service Manager prompts you to select the array's data type.
- Select character.
- Click Add Field.
-
Click OK to save the database dictionary.
Service Manager displays the database dictionary.
Task 6: Create a new approval definition record to manage the application's approvals.
- Click Tailoring > Forms Designer.
-
Type rc.profile.g in the Form field, and then click Search.
The Problem Management Security Profile form opens.
- Click Design.
- Click Label, and then click in the open space beneath the Complex Mass Update check box.
-
Edit the properties of the label as follows.
Property Value Caption Approval Groups: X 2 Y 31 Width 28 - Click Comfill, and then click to the right of the Approval Groups: label.
-
Edit the properties of the combo fill field as follows.
Property Value X 31 Y 31 Input approval.groups Array Length 5 Value List Condition select("name", "assignment", "name", "*") - Click OK to exit design mode.
- Click OK to save the form and return to the Forms Designer search screen.
Task 7: Edit the application's category definitions to add your new approval definition.
- Click Tailoring > Tailoring Tools > Links.
- Type rc.profile in the Name field, and then click Search.
-
Add the following link entry at the end of the list of links.
Property Value Source Field name approval.groups Target File name assignment Target Field name name - Click Save.
-
Click Change Management > Maintenance > Approvals.
Note You are using a Change Management menu link because by default, Problem Management does not have a menu item for Approvals.
-
Type the following field values.
Field Value Name Problem Approval Approval Condition true Group/Oper HELPDESK Sequence 1 Condition true Caution The Group/Oper field is case sensitive.
- Click Add.
-
Click Problem Management > Administration > Problem Control Categories.
Your customized problemcat form opens.
-
In the Name field, type the name of a Problem Management category that you want to trigger your custom approval process. For example, ITIL.
Note: You can repeat this step for each Problem Management category you want to trigger approvals.
-
Click Search.
Service Manager displays the current ITIL category definition.
- In the Approval Requirements array, type Problem Approval.
- Click Save.
Task 8: Edit the application profile records that you want to have access to your custom approval group.
-
Click System Administration > Ongoing Maintenance > Profiles > Problem Management Profiles.
The Problem Management Security Profile form opens.
- In the Profile Name field, type the name of a profile you want to grant approvals. For example, SYSADMIN.
-
Click Search.
Service Manager displays the current Problem Management Security Profile.
- In the Approval Groups array, type the name of the approval group you defined to manage approvals. For example, HELPDESK.
- Click Save.
- Log out the current operator and log on to Service Manager with an operator account that has the SYSADMIN Problem Management profile. For example, System.Admin.
- Click Problem Management > Problem Control > Create New Problem.
-
Create a new problem record and note the record number. For example, PM0002.
Note The Category field on the Problem Control form maps to the Incident Management category, not the Problem Management category. Since there is only one approval category for ITIL Problem Management, any problem you create will automatically be part of the ITIL Problem Management category.
Task 9: Edit the script that controls the approval inbox to add your custom approvals to the list of approvals the system displays.
- Click Tailoring > Database Manager.
- Type Approvals in the Table field, and then click Search.
- Select the Approval form from the list.
- In the Id field, type the record number for the problem you created. For example, PM0002.
- Click Search to display the pending approval.
- Click Tailoring > Script Library.
- Type ApprovalCustomPlugin in the Name field, and then click Search.
- Locate the appendCustomApprovalSql() function.
- Remove the comment lines /* and */ at lines 49 and 55 to enable the function.
- Click Save.
- Click Compile.
-
Click Service Catalog > Approve Requests.
Service Manager displays the list of pending approvals. Check the list for your custom approval. For example, PM0002.
Related topics
Approval delegation
Enabling approval delegation for custom approvals
Example: Enabling Approval Delegation for custom Problem Management approvals
What happens when I delegate approval authority?
What happens when I receive delegated approval authority?
Delegate approvals to another operator
Disable an active approval delegation
Update an active approval delegation
Approval delegate qualifications
Global variables available for approval delegation
Views available for approval delegation