- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:19 AM - edited 05-16-2025 04:20 AM
In the incident form, under the related list, when I open the "Affected CI" related list, it displays the records in a pop-up window. I would like to update the filter condition here because the current view includes records that have been retired. How can I modify the filter? I tried from my side, but this is somewhat different to update.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:34 AM - edited 05-16-2025 04:36 AM
Hi @kiran115 ,
it's the script include AssociateCIToTask
update the highlighted line
if you want that to be removable filter use this
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:31 AM
Hello!
To update the Affected CI related list filter in ServiceNow, check if you can modify it directly in the list configuration. If not, try adjusting the sysparm_fixed_query parameter or filtering out retired CIs via the CMDB table status field. For advanced filtering, a Script Include like AssociateCIToTask
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 04:34 AM - edited 05-16-2025 04:36 AM
Hi @kiran115 ,
it's the script include AssociateCIToTask
update the highlighted line
if you want that to be removable filter use this
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2025 07:19 AM
Thanks @Chaitanya ILCR, it worked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2025 12:57 AM
Is there also a chance to find this for a workspace?