How to set up sub category based on category in incodent form. ex - sub-category should be displayed based on specific category
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 06:11 AM
When you select category as Hardware - it should only display sub category related to Hardware.
if you select category as Software - it should only display sub category related to Software.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 06:28 AM
Hi Amit,
If this is for normal table then this should be achievable easily
check below link for step
ServiceNow Choice List Dependencies
If this requirement is for Service Catalog then you can setup it using below links
ServiceNow - Dependent Variables on Record Producer in Service Catalog
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 07:01 AM
Thanks Ankur for sharing the link.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 07:12 AM
However when the category is made dependent it doesnot show any sub-category.
ex- if none is selected - it shows all values in the subcategory - however if i select any category as hardware or software and then no option is displayed in sub-category.
please let me know if there is any way to take remote and help me understand the issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 08:00 AM
One workaround you can use to prevent Sub-categories being chosen before a Category is to either hide the field or make it read only until a Category has been chosen. This way you don't have to try to reverse engineer what Categories to show dependent upon what Sub-Category has been chosen.
Not only do you have to make the Sub-Category dependent on Category, you must also make the choice values within the Sub-Category choice list dependent upon their corresponding Category values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2021 10:05 PM
How to make the choice values within the Sub-Category choice list dependent upon their corresponding Category values.