Best way to disable Configuration Items

MBarrott
Mega Sage

We have a series of configuration items that we would like to retire and remove them as selectable options. 

 

I've modified the Install Status and Operational Status to 'Retired' but they are still showing up as usable options. 

 

Is there a best practice to sunset these CI's?

1 ACCEPTED SOLUTION

MBarrott
Mega Sage

Managed to fix this fairly easily:

 

- I noticed that the cmdb_ci field has a Dictionary Override records for incident, sc_task and change_request. All three of these were overiding the reference qualifier field for the cmdb_ci. 

 

By default (OOTB) the Reference Qualifier field was: sys_class_name!=cmdb_ci_service

 

I modified this and added a condition to filter out CI's which have an Operational Status of '6', which is retired: operational_status!=6

 

Combining these I ended up with: operational_status!=6^sys_class_name!=cmdb_ci_service

 

This ensured that any retired CI's were omitted from the Configuration Item reference field. 

View solution in original post

13 REPLIES 13

What @amaradiswamy, says it true but that should be defined out of the box. However, it will only work from items related to the task table. So for things like standard change templates user will still be able to select retired CIs.

Setting the CI's status or life cycle stage status to Retired is the standard way of deactiving the CIs. The control on what CIs should be visible in the CI field on a table entirely depends on the reference qualifier condition defined on that field

Good recommendation but this will impact the reporting if there are any incidents, problems, requests, change requests or any reference fields referencing to the retired CIs

Hi @amaradiswamy - so what would you recommend is the optimal way to essentially 'hide' these CI's from being selectable config items? 

I would check the reference fields referencing to CMDB related tables and update refereace qualifier condition.

 

For fields :

Go to system definition --> dictionary, search reference.name contains cmdb tables and update reference qualifier conditions

For variables:

Go to Service Catalog --> Catalog Variables --> all variables, search for reference fields referencing to cmdb tables