- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2020 04:55 AM
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.
Solved! Go to Solution.
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 11:52 PM
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'
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2020 05:10 AM
Hi Swapnil,
You can update the configuraation item field and right click and select configure dictionary on the incident form.
1. Goto the related list Dictionary overrides and create a new as shown below (if any existing override in incident table is present then select that one) other wise create new.
2. Select a table as incident and check the overrride reference qualifier and put the script as javascript:'operational_status!=6' save and check in the form of incident the retired ci will not be displayed in the list.
Please mark correct or helpful if it helps.
Thanks,
CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2020 05:47 AM
You have it right CB but that wasn't my question.
Below I have written it in short and simple way :-
CI's with Retired devices option from configuration item table/form should not be available on incident forms cmdb_ci field.
Image 1 : when CI is retired on cmdb form
Image 2 : then that CI should not be available on incident form - cmdb_ci field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2020 06:11 AM
Hi Swapnil,
The above solution is doing the same thing as it will restrict the configuration items which is in retired state to not shown in the configuration item field on the incident form.
The reference qualifier will restrict the entries to be shown when referring to another table.
Can you please provide more details on what is your actual requirement.
Please mark answer correct or helpful if it works.
Thanks,
CB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 10:51 PM
Hello CB,
I tried your method, thing is I didn't got retired devices in configuration field but along with that other devices are also not available. I can only see operational status devices in the field.