How to add filter condition in Impacted Services/CIs

Sirisha3
Kilo Contributor

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...!

 

6 REPLIES 6

Apeksha Joshi
Kilo Guru

Hi siridha ,

when you try to add new Impacted Services/CIs create your own filter there as shown in below snap  :

find_real_file.png

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

Sirisha3
Kilo Contributor

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...!

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.

 

vinothkumar
Tera Guru

Hello,

 

Please follow the below steps and it will fulfill your requirement.

 

  1. Right-click a related list column header and click Configure > List Control
  2. Configure the form to add the Edit default filter field, if necessary.
  3. Using the condition builder, create a default filter.
  4. 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.

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/form_administration/ta...