- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:29 AM
Hi everyone,
I'm working in Service Operations Workspace, and I have a use case related to the Affected CI related list on the Problem record.
I would like to filter the list of CIs that appear when a user clicks the "Add" button in the related list (from the task_ci table).
Specifically, I want the user to only see CIs where the class is "Service Offering" (cmdb_ci.sys_class_name = service_offering).
I was able to filter the related list itself , but that does not affect the records shown in the Add modal popup.
It still shows all CI records, regardless of class.
How can I filter the Add selection list to only include Service Offering CIs in Workspace?
Thanks in advance for any help
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:53 AM
the filter comes from Script Include "AssociateCItoTask" and function getURL()
this article explains well on how to change
update the filter on this line
Apply Filter to ADD Button on Impacted Services/CI RelatedList
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:37 AM
please share how did you add that "Add" button with complete steps
May be somewhere in that config you might have to tweak the filter.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:46 AM
hii
this config is OOB UI ACTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 02:53 AM
the filter comes from Script Include "AssociateCItoTask" and function getURL()
this article explains well on how to change
update the filter on this line
Apply Filter to ADD Button on Impacted Services/CI RelatedList
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2025 03:20 AM
it works! thank you so much