how to exclude retired CIs from 'Discovery source not reporting' in CMDB Workspace

saranyavs
Tera Expert

Hi,

The widget 'CIs not reported by discovery sources' is showing retired Cis count also by default.. how to exclude retired CIs from 'Discovery source not reporting' in CMDB Workspace. I checked in UI builder but could not find direct filter conditions to apply. Please help.

saranyavs_0-1753967876747.png

 

Regards,

Saranya

 

1 REPLY 1

AJ-TechTrek
Giga Sage
Giga Sage

Hi @saranyavs ,

 

THis is Great question !!

 

This is actually a common CMDB Workspace / CMDB 360 question because the out-of-the-box (OOTB) widget “CIs not reported by discovery sources” does not filter out Retired (or Decommissioned) CIs by default.


 

As per my understanding why this happens:


* The widget uses a data source (often an Indicator Source or GlideAggregate) to count CIs:
* Where discovery_source is empty or not updated recently.
* By default, it doesn’t filter by CI lifecycle status, so it can include:
* Retired
* Decommissioned
* Other non-production statuses

 

Solution – exclude Retired CIs:
Since you checked in UI Builder and didn’t see a direct filter — that’s expected:
* These widgets often use an Indicator Source (for Performance Analytics) or a predefined Data Source.
* To filter out retired CIs, you typically:
* Update the Indicator Source
* Or update/create a custom Data Source with a filter
* Then replace the widget’s data config to use this filtered source


Here’s how you can do it:


1. Find the Indicator Source or Data Source

A.Go to Performance Analytics → Indicator Sources
 B. Look for something like:
* “CIs not reported by discovery sources”
* Or similar — check the CMDB Workspace data sources

 

2. Update the filter
In the Indicator Source or Data Source:
* Add filter:
Install Status != Retired
Install Status usually comes from field install_status (field on cmdb_ci or subclass).
* Filter out Retired (value is usually 7 in OOB cmdb_install_status dictionary).

 

3. Save & test
* Save Indicator Source
* Go back to CMDB Workspace
* Refresh widget data (may need to wait a few minutes or click Collect Data Now if it’s PA-based).

 

4. If you don’t find Indicator Source:
If the widget uses a Data Resource / Data Config in UI Builder:
* In UI Builder:
* Open page → find widget → check data binding
* See if it points to Data Resource
* If yes:
* Edit Data Resource
* Add filter to exclude CIs where install_status = Retired

 

5. As last resort – custom widget:
If OOTB widget logic cannot be changed (rare):
* Clone the widget
* Point to a custom Data Resource with the correct filter
* Replace widget on page

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
 

Thank You
AJ - TechTrek with AJ - ITOM Trainer
LinkedIn:- https://www.linkedin.com/in/ajay-kumar-66a91385/
YouTube:- https://www.youtube.com/@learnitomwithaj
Topmate:- https://topmate.io/aj_techtrekwithaj (Connect for 1-1 Session)
ServiceNow Community MVP 2025