You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# CMDB Configuration Items Training Data Quality Analyzer
3
+
4
+
## Overview
5
+
This script analyzes the quality of CMDB Configuration Item (CI) data in ServiceNow to assess readiness for Predictive Intelligence (PI) model training. It provides statistics and actionable insights to help ServiceNow developers and admins improve data quality before building machine learning models.
6
+
7
+
## Purpose
8
+
- Evaluate completeness and quality of key CMDB fields
9
+
- Identify operational status distribution across CIs
10
+
- Highlight data issues that could impact PI model performance
11
+
- Support preparation of balanced, representative training datasets
12
+
13
+
## Features
14
+
- Dynamically discovers and counts unique operational status values
15
+
- Reports the number of CIs in each operational state
16
+
- Checks for missing or default operational status values
17
+
- Outputs summary statistics to ServiceNow system logs
18
+
- Easily customizable for additional CMDB fields or metrics
19
+
20
+
## Setup Requirements
21
+
1.**ServiceNow Instance** with Predictive Intelligence plugin enabled
22
+
2.**Script Execution Permissions**: Run as a background script or Script Include with access to the `cmdb_ci` table
23
+
3.**No external dependencies**: Uses standard ServiceNow APIs (GlideRecord, GlideAggregate)
24
+
4.**Sufficient Data Volume**: At least 50 CIs recommended for meaningful analysis
25
+
26
+
## How It Works
27
+
1.**Operational Status Analysis**: Counts CIs by each operational status value found in your data
28
+
2.**Summary Output**: Prints counts and distinct states to system logs
29
+
3.**Data Quality Insights**: Helps identify imbalances, missing values, or underused states
30
+
4.**Customizable Logic**: Easily extend to analyze other CMDB fields or add mapping for status codes
0 commit comments