Dynamic filtering of Choice field values in SOW list edit based on Catalog Item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
I have a requirement where the values available in the Pending Reason choice field should vary based on the associated Catalog Item.
For example:
Employee Offboarding → Awaiting Equipment Return
Employee Onboarding → Awaiting Join Date
Other Catalog Items → Awaiting Caller, Awaiting Vendor, Awaiting Change
I have implemented this successfully using an onLoad Client Script, and the correct choices are displayed when the record is opened in the form.
However, when users edit the record from the Service Operations Workspace (SOW) list view, all choice values defined for the field are displayed in the dropdown regardless of the Catalog Item. Since the client script does not run during list editing, the filtering is not applied.
Constraints:
The field is a Choice field.
I cannot create a separate reference table for Pending Reasons.
I cannot disable list editing.
A Business Rule can validate the selection, but it does not restrict the choices shown in the dropdown.
Is there any supported OOTB approach or Workspace customization that can achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
on list view you can't show/hide the drop down choices
The only option is before update BR to stop the record update
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader