Filter CI's on Incident form

Nandini Mishra
Tera Contributor

Hi All,

 

I have a requirement to restrict CI's on incident form for Load Balancer Class only for "SNOW- LB Support - L2" group. i.e only members of the group are able to select the load balancer CIs in the configuration item field, rest other classes CI;s should remain available for all in the Configuration item field.
How best can i configure this requirement? Can someone guide me please.

1 REPLY 1

Sagar Pagar
Tera Patron

Hi @Nandini Mishra,

 

You need to control it through the reference qualifier or advanced reference qualifier.

 

if(current.assignment_group == "SNOW- LB Support - L2 sys_id"){

javascript: "sys_class_name=cmdb_ci_lbORinstall_statusNOT IN7,8";

}

else{

javascript: "sys_class_name!=cmdb_ci_lb^install_statusNOT IN7,8";

}

 


If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar

The world works with ServiceNow