How to add filter condition in Impacted Services/CIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2019 02:15 AM
Hi All,
I need to add filter condition in Impacted Services/CIs it is available in Change request related links
Change - > Impacted Services/CIs -> Click on Add
window is opened with CIs list, i want to exclude few classes from list(like software,AIX Server)
Thanks in advance...!
- Labels:
-
Best Practices
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 12:07 AM
Hi siridha ,
when you try to add new Impacted Services/CIs create your own filter there as shown in below snap :
where class ! = Software and class != AX Server .
with this it will exclude those CI's with these classes and show the other CI's
If my reply helps you at all, I’d really appreciate it if you click the Helpful button and if my reply is the answer you were looking for, it would be awesome if you could click both the Helpful and Accepted Solution buttons!
Regards,
Apeksha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 02:51 AM
I tried with filter condition but it is not working whenever i click on Add button again. It is loading entire data from cmdb_ci. I got the solution for this issue it should be change in script include
Thanks for your effort...!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2021 11:27 AM
Any chance you could share what you ended up doing?
Nevermind: see the post from Lionel C here - https://community.servicenow.com/community?id=community_question&sys_id=c64a87a9db5cdbc01dcaf3231f96...
There is a line to update the AssociateCIToTask Script Include with an encoded query. Works like a champ.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2019 03:11 AM
Hello,
Please follow the below steps and it will fulfill your requirement.
- Right-click a related list column header and click Configure > List Control
- Configure the form to add the Edit default filter field, if necessary.
- Using the condition builder, create a default filter.
- Click Update.
When users click the Edit button in the related list, the list of records they can select is filtered according to the default filter.