Hide Business Services

nikhithanik
Tera Contributor

Hi All,

 

I want to hide few business services BE Bigdata APC, BE Bigdata PQE, Big Data, BE Bigdata BI&AI&Dashboard at Incident creation. How to achieve this using client scripts or ui policies.?

Thanks in advance
Nikhitha

1 ACCEPTED SOLUTION

Hello @nikhithanik 

 

If you observe carefully your reference qualifier has some mistake it should be as below:

//your code
javascript:'u_type='+current.u_business_service_type+'^u_active='+true+'sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");

//correct code
javascript:'u_type='+current.u_business_service_type+'^u_active=true^sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

View solution in original post

9 REPLIES 9

Hello @nikhithanik 

 

If you observe carefully your reference qualifier has some mistake it should be as below:

//your code
javascript:'u_type='+current.u_business_service_type+'^u_active='+true+'sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");

//correct code
javascript:'u_type='+current.u_business_service_type+'^u_active=true^sys_idNOT IN'+gs.getProperty("Business_services_to_exclude");

 

If my response has helped you hit helpful button and if your concern is solved do mark my response as correct.

 

Thanks & Regards
Viraj Hudlikar.

Hi Viraj,

 

Thank you so much for your clear and detailed explanation! It worked perfectly! and i truly appreciate your help

Hello @nikhithanik

 

I am glad it helped you. Happy Learning!!

Thanks & Regards,
Viraj Hudlikar.

nikhithanik
Tera Contributor

Hi viraj,

 

I have tried with the reference qualifier still the changes are not reflecting in the incident. Please help me out to resolution the issue or can we try this with client scripts.?

nikhithanik
Tera Contributor