Categories and subcategories are not properly configured while creating incident temlpates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 07:20 AM
While creating INC templates, even after selecting a category, I see all the subcategories rather than dependent subcategories. Is there a way to properly set up the dependencies?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-26-2025 09:37 PM
Hello @SiriKatta,
Please refer to the link below:
https://www.servicenow.com/docs/bundle/yokohama-platform-administration/page/administer/field-admini...
OR Below steps:
-
Issue:Incorrect order of fields in the template can lead to subcategory options not appearing correctly. Try placing the subcategory field before the category field in the template.
-
Resolution:Adjust the order of fields in the template to ensure the subcategory field comes before the category field.
-
Issue:Subcategories might not update correctly when a category is selected if the subcategory field isn't properly configured as dependent on the category.
-
Resolution:
- Configure Dictionary: Right-click the subcategory field on the Incident form and select "Configure Dictionary."
- Dependent Field: In the dictionary, navigate to the "Dependent" tab and specify the "category" field as the dependent field.
- Reference Qualifiers (if needed): For complex relationships or if dependent fields don't function as expected, you may need to use reference qualifiers to further refine the subcategory options.
- Configure Dictionary: Right-click the subcategory field on the Incident form and select "Configure Dictionary."
-
Issue:If subcategory options are being populated by a client script, ensure that the script is correctly handling the dependency on the category field.
-
Resolution:Review the script logic and adjust it to properly populate subcategories based on the selected category.
-
Issue:Ensure that the user creating the template has the necessary roles (e.g.,
template_editor_global
oradmin
) to create and edit templates. -
Resolution:Verify the user's roles and ensure they have the appropriate permissions to create or modify incident templates.
-
Issue:Subcategories might be hidden or not displayed on the Incident form if they are not correctly configured or if the category selection doesn't trigger the display of the related subcategories.
-
Resolution:
- Check
sys_choice
table: Review thesys_choice
table to ensure subcategories exist and that the "dependent" value (if used) is correctly linked to the category. - Verify Dependency: Double-check that the subcategory field is dependent on the category field as described in point 2.
- Check
-
Issue:The template might not be visible to the intended users if it is not set up correctly or if the visibility criteria are not met.
-
Resolution:
- Check User and Group Fields: When creating the template, ensure the "User" and "Group" fields are correctly configured to control who can see and use the template.
- Review Template Visibility: Check the template's visibility settings to ensure it's accessible to the intended audience.
If it is helpful, please hit the thumbs up icon and accept the correct solution by referring to this solution in future it will helpful to them.
Thanks & Regards,
Abbas Shaik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2025 02:01 AM
Hi @SiriKatta
if you're seeing all subcategories instead of just the dependent ones, it likely means the category-subcategory relationship isn't properly configured:
Ensure Proper Configuration
Go to System Definition > Dictionary > Dependent tab and check the dependent relationships between categories and subcategories.
Make sure the subcategories are correctly linked to their respective categories.
Scripting issues:
Verify if there are Client Script/business rules controlling the visibility of subcategories.
You may need to adjust or create a rule to enforce dependencies.
Kindly Mark Helpful and Accepted if this resolve your Issue.