Category field dropdown on new Incident record empty in SOW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi,
We have recently upgraded to the Australia release and we encountered an issue in the Service Operation Workspace where during Incident creation a dropdown values for the Category and Subcategory are empty.
Our category field selection is dependent on the Service offering and subcategory on the category selection.
This is working fine in the classic UI.
Anyone experienced this issue before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @peterkrzesz ,
Make sure/verify your category dependent logic UI Type set to All (client script), Run Scripts in UI type on UI Policy is All
example:
Client script
UI Policy:
Thank you,
Hemanth
CTA, ServiceNow MVP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
how are the fields made dependent on Service Offering?
via some script etc?
did you check and debug that?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi,
This is managed by the OOB functionality on the Dictionary entry for Category field on the Incident table.
Dependent field = True
Dependent on field = Service offering
Please see attached.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
21m ago
Hi @peterkrzesz,
OOB, Category on Incident isn't dependent on Service offering (only Subcategory depends on Category), so this dependency is a customisation. A dependency on a reference field matches the offering's sys_id against sys_choice.dependent_value, which can behave differently in SOW.
A few quick checks:
- In SOW, select a Service offering. Does Category fill in? If it does, the list is only empty because the offering is blank on a new record.
- Check sys_choice (name=incident, element=category). If every choice has an offering sys_id in dependent_value, add a few choices with a blank dependent_value so the field is never empty.
- Make sure Service offering is on the SOW form view and isn't hidden by a UI policy.
If Category stays empty even after an offering is selected, remove the dictionary dependency and filter Category with an onChange client script on service_offering (UI Type = All) using g_form.clearOptions/addOption. That works in both UIs. It's worth reproducing in a PDI on Australia and raising a HI case if it's a platform issue.
Docs: https://www.servicenow.com/docs/r/platform-administration/t_MakingAFieldDependent.html