- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 12:52 AM
Hi Team,
I have two drop-down fields category and sub-category on case form.I want to add choices to these two fields both fields are drop-down.
- For Category i have 4-choices For example : A,B,C,D is the 4 categories.
- If Category selected is 'A' then For Sub-category there are some choices to be added.
- Similarly if category selected is 'B' then For 'B' category there will be some choices in the Sub-category drop-down.
Let me know the script for this ???
Thanks in Advance
Balaraju
Solved! Go to Solution.
- Labels:
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-01-2020 08:38 AM
you can configure the dependent values for the drop down
Sub-category choice values will have dependent value as per category value
refer links below
Incident categories and subcategories
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
‎09-17-2020 12:56 AM
Hi,
No need to have script for the,
If you check incident category and sub category functionality you will understand.
You need to set dependent fields for subcategory.
Thanks,
Dhananjay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 01:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 01:10 AM
First Category Itself Contains 47 subcategory choices is it good to use deependent field?
No i think that's why looking for client script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2020 01:35 AM
Hi,
You can use and it is good. try to use OOB functionality instead script. If you go with script still you need to write code for all those subcategory choices of 4 category and thats not good.