How to remove filter in Affected CI in SOW

SM123
Tera Expert

Hi everyone,

I'm working in Service Operations Workspace, and I have a use case related to the Affected CI related list on the change 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 see all CIs. I can be able to achieve this in default view by commenting out this line in "AssociateCIToTask" script include. i want this to be achieved in SOW as well. 

//url.set("sysparm_fixed_query", principalClassFilter);

Thanks in advance for any help

malika123_0-1754162027077.png

 

 

2 REPLIES 2

kaushal_snow
Mega Sage

Hi @SM123 ,

 

Good day !!

 

The filtering logic is probably being applied either via a client script or in the configuration of the related list in the workspace. Please try checking the script include or the code that sets the URL parameters. To show all CIs, you need to remove or comment out the line that sets the filter (sysparm_fixed_query).


Give it a try and let me know...

 

 

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/

Hi @kaushal_snow ,

I have already commented (sysparm_fixed_query) out this line, but it isn't working in Service operational workspace. I couldn't understand the other suggestions you mentioned. Could you please explain what should i do?

Thank You