Troubleshooting incident template related issues
Issue symptoms
Service desk agents may report the following types of issues when working with incident templates in BMC Helix ITSM:
- Expected incident template or templates are missing from the search results.
- Unexpected incident template or templates are displayed in the search results.
- Values of the selected incident template are not applied to the incident.
- Unexpected behavior when attempting to save a new incident that uses a template.
Issue scope
- All or specific users are affected.
- Problem may be intermittent, especially in case of environments that use:
- Smart IT clusters
- AR System groups with load balancing
Resolutions for common issues
Perform the following steps to troubleshoot the incident template issues:
Symptom | Template searched from | template | Action | Reference |
---|---|---|---|---|
When you enable company-driven template search, no incident templates are available in BMC Helix ITSM. When you enable Support Group driven template search on the same system, depending on product version:
| Recommended Template search in Smart Recorder | These symptoms are seen when the HPD_TemplateCmpDist database view that supports the HPD:TemplateCompany_Dist View form is corrupted. Check by either querying the view on database level, or opening the View form in Mid Tier by using an Administrator account and performing a search. | ||
Specific templates are not available in the Recommended templates section of Smart Recorder for the following users:
| Recommended Template search in Smart Recorder | true | Perform an FTS (Full-Text Search) index of HPD:TemplateSPGAssocLookup form. | For more information, see the Considerations for Smart IT MFS searching of incident templates section in this blog post. |
For specific searches, Smart Recorder does not retrieve any recommended templates, but shows the following message: However, when a user uses the same search term in other areas, matching incident templates are shown. With network logs enabled, the following error can be seen in the Console log: Error: e.templateObject is null For information about capturing network logs, see Capturing network details by using the browser functionality. | Recommended Template search in Smart Recorder |
| FTS re-index is required for incident template join form used in BMC Helix ITSMs Multi-Form Search.
|
Diagnosing and reporting an issue
Task | Action | Steps | Reference | ||||
---|---|---|---|---|---|---|---|
1 | For a user or a group of users, specific incident templates are either:
Check the blog in the Reference column that describes the steps BMC Helix ITSM takes to find matching incident templates. If it does not explain the issue, check if the Authored for Groups setup of the involved incident templates can explain the issue. Note: If you are unable to find templates only in the recommended templates in Smart Recorder where the expected templates are not showing, see Task 3. | As an administrator, perform an advanced search in Mid Tier on the indicated form depending on system configuration:
Form: HPD:TemplateSPGAssocLookup If records are returned, the Support Company 2, Support Organization 2 and Support Group Name 2 fields are shown on the basis of the organization or organizations for which the user has access to the template. If no records are returned, the template does not appear in BMC Helix ITSM template searches for this user.
Form: HPD:TemplateCompany_Join_Inner The resulting records show the companies that are set up with access to this template. Use the information in Section 1 of this blog to understand which companies are considered in an incident template search and if this can explain why a template is displayed or not displayed for a specific agent in BMC Helix ITSM. Possible next steps based on the observed results:
| |||||
2 | Incident template searches work in general, but certain searches do not return all the expected incident templates for searches performed in these areas:
Check if the templates are excluded due to chunk sizes used in BMC Helix ITSM. | Depending on BMC Helix ITSM system configuration, perform the suggested SQL query against the AR System database to check if the affected template may fall outside the chunk sizes used by BMC Helix ITSM Server:
BMC Helix ITSM requests only the top 200 results for these queries, so any templates outside the top 200 are not displayed. BMC Helix ITSM server then removes any duplicates within the top 200 results and returns the top 100 matches to the client for searches performed while creating an incident, and the top 20 results for template searches initiated by using the '!'-accelerator. Possible next steps in case a template falls outside these chunk sizes:
| |||||
3 | Searches do not show the relevant incident templates in Smart Recorder's recommended template searches . Test Multi-Form Search (MFS) in Mid Tier to confirm if the template can be found. If it can be found, check if the FTS search score or ranking for the template can explain why it is not showing in BMC Helix ITSM. | In addition to searching for the entered search terms in the MFS Indexed fields, BMC Helix ITSM also uses extra search filters when performing MFS. These search filters cannot be set up via the MFS:MultiFormSearch form in Mid Tier. However, they can be added by using aMid Tier feature to pass data into a hidden field on the form (Hidden_FilterField, ID 3120) via parameters. Administrators can then set up the required Login ID and Company search filters in this hidden field. Use the following steps to perform the search (In case of an AR Server Group, validate these searches against each AR Server that Smart IT can connect to):
BMC Helix ITSM retrieves the top 60 results (to eventually return the top 20 to the client). So, if a template falls outside the top 60 results in the table, BMC Helix ITSM does not receive it for the used search terms. Possible next steps based on observed MFS results:
Note: For BMC Helix ITSM 21.02 and later versions, Smart IT debug logging was enhanced to include the list of templates returned by the MFS. Check for this line in the Smart IT debug log: SUPPORT_LOG: Result for searchString =<searchTerm> , ... | |||||
4 | In case the above steps or suggestions cannot help to resolve the issue, collect a set of logs capturing the use case to check for any apparent errors. |
<date:time> | <threadId> | RID: 1234 | DEBUG | c.b.b.m.f.h.ExistingSessionHandler | request received requestURI : /smartit/rest/incident/templates The last lines for that REST call should also include the resulting HTTP status code: <date:time> | <threadId> | RID: 1234 | DEBUG | c.b.b.myit.filter.ExpiresFilter | Request '/smartit/rest/incident/templates' with response status '200'
| |||||
5 | Collect and share data that can help BMC Support analyze the root cause of the issue. | Collect the following details and logs when creating a case with BMC Support:
|
Instructions for classic interfaces