Filter CI's on Incident form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 10:07 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2023 10:17 AM
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