Troubleshooting issues with incident templates
Issue symptoms
Service desk agents may report the following types of issues when working with incident templates in Smart IT:
- 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 Server groups with load balancing
Resolutions for common issues
Perform the following steps to troubleshoot the incident template issues:
Symptom | Template searched from | Affected versions | template | Action | Reference |
---|---|---|---|---|---|
Incident template search retrieves a maximum of 100 templates. There is no option available to browse the next 100 matches or to increase the number of templates to be retrieved via Centralized configuration. |
| 20.02, |
| This is a known issue (SW00565227) and a workaround is not available. Upgrade to Smart IT 20.08 or later versions, where you can configure the incident templates to be retrieved via Centralized configuration. | |
Specific templates are not available in the Recommended templates section of Smart Recorder for the following users:
| Recommended Template search in Smart Recorder | 21.3.x, | 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. |
Incident templates are only available in the Recommended templates section of Smart Recorder for one company at a time. Adding an active relationship for a second company does not make the template available for both companies. | Recommended Template search in Smart Recorder | 20.08.x, | false | This is a known issue (DRSMX-55018) and has been fixed in Smart IT 21.02. Note:
| |
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 how to capture network logs, see Capturing network details by using the browser functionality. | Recommended Template search in Smart Recorder | 21.3.x, |
| FTS re-index is required for incident template join form used in Smart ITs 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 Smart IT 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 Smart IT 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 Smart IT. 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 Smart IT. | Depending on Smart IT version and 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 Smart IT Server:
Smart IT requests only the top 200 results for these queries, so any templates outside the top 200 are not displayed. Smart IT 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 Smart IT. | In addition to searching for the entered search terms in the MFS Indexed fields, Smart IT 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 a Mid 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):
Smart IT 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, Smart IT does not receive it for the used search terms. Possible next steps based on observed MFS results:
Note: For Smart IT 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:
|