How to restrict retired CI's on incident form ?

swapnil15
Tera Contributor

If the field(operational status) on cmdb_ci form is retired then than that ci should not be visible on incident forms ci field ? Someone tell me how to do this.

1 ACCEPTED SOLUTION

Hi Swapnil,

please find screenshot below

I added this and it only shows CI which are not retired

when I apply filter as below

javascript: 'operational_status!=6'

find_real_file.png

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

11 REPLIES 11

Hi Swapnil,

please share how you have configured

the below should work as expected

javascript: 'operational_status!=6'

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Swapni,

The above solution which i gave to you should as I tested in my PDI and the condition is correct only.

Can you please share the configuration which you did so that we can guide you.

Thanks,

CB

 

Hi Swapnil,

please find screenshot below

I added this and it only shows CI which are not retired

when I apply filter as below

javascript: 'operational_status!=6'

find_real_file.png

find_real_file.png

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Let me know if that answered your question.

If so, please mark my response as correct & 👍 helpful so that others can benefit from similar question in future.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Gaurav Shirsat
Mega Sage

Hi Swapnil

Please Go to Your Table

in the related List..

find_real_file.png

 

Please Mark Correct and Helpful

Thanks and Regards

Gaurav Shirsat