ServiceNow Predictive Intelligence classification learns from historical records to predict a field such as incident category. Build a solution definition, select reliable training records and inputs, train it, then review class results before using predictions. Retrain when the underlying examples or operating categories change, with acceptance checks that compare performance across classes.
A classification model predicts one field, chosen before any data is prepared.
Start with one decision: which field should the model populate, and what information will exist when that decision happens? A category model and an assignment group model have different outputs, even when they learn from the same incident table. Build one solution definition per model, because each definition trains against a single Output Field.
A usable output field offers a bounded list of values, and those values should follow from what the input fields say about the record. Short description can provide evidence of an incident’s category. A field filled in after resolution may contain strong clues, but using it creates a poor operational test if the same information is absent during initial triage.
Before configuring fields, write down the prediction point, acceptable mistakes, and who handles records without an acceptable prediction. For broader context, see the Predictive Intelligence overview.
Training records that reflect current work decide what the model learns.
Training quality starts with the labels already present in your records. Inspect the table’s dictionary and review examples from each intended output class. Remove unreliable target values and obsolete categories from the training population. Otherwise, a successful training run can still teach the model a routing pattern your organization has stopped using.
Use authentic database records. Completed, inactive records with reliable outcomes are appropriate candidates. In a classification definition, Filter controls which records enter training. A relative date condition keeps the selection moving as scheduled retraining occurs; a fixed date requires maintenance to prevent an aging training population.
- Check that the input fields contain meaningful information rather than repeated placeholders.
- Count examples for each output value, including classes with small populations.
- Review variations in how users describe similar issues.
- Compare selected records with the work the model will encounter after deployment.
Classification training has a minimum of 10,000 records. The recommended training population is 30,000 through 300,000 records; when more than 300,000 are submitted, training uses the most recent 300,000. Classes with fewer than 30 examples in the training dataset are excluded and appear among the excluded classes in Solution Statistics after training.
These are different checks: enough records overall does not mean enough examples for a particular class. Treat an excluded category as a gap in the model’s intended coverage. Decide whether to gather more reliable examples or retain manual handling for that category.
Creating and training a solution definition takes six form steps and one confirmation.
Creating and training a classification solution requires admin or ml_admin. In the intended application scope, navigate to All > Predictive Intelligence > Classification > Solution Definitions and select New. Give the definition a distinctive Label; the system generates its read-only Name.
- Select Table for the records involved in the prediction.
- Choose Output Field for the value the model should predict.
- Select the input Fields, considering what will exist at the prediction point.
- Use Add Filter Condition to define the training population.
- Set Processing Language to the dominant language of the training dataset and review Stopwords.
- Begin with Training Frequency set to Run once while you evaluate the definition.
Select Save & Train or Submit & Train as appropriate for the form, then confirm with OK in the Training Activation window. Once queued, a run finishes with a completion message that flags any errors it hit. A saved definition is a configuration record; submitting it for training is the step that produces a trained solution.
English stays active when you choose another processing language, so both sets of processing run side by side. Check custom stopwords against your category names before adding them, because a term that separates one category from another should not be filtered out.
Check the behavior on your instance and release: in Brazil, classification uses pre-trained Workflow solutions without a required word corpus. Retraining an older solution that used a word corpus converts it to a Workflow solution and removes Word Corpus from the form. Include that change in upgrade testing rather than expecting the older form to remain identical.
Class-level results should be checked before the model is accepted.
After training, review Class Confidence on the Solution Statistics tab of the trained ML solution form. Solution Visualization shows class bubbles with estimated precision, coverage, and distribution; bubble size reflects the class’s share of records. Inspect both large and small classes. An acceptable overall result can conceal a category that your service desk cannot safely route automatically.
Use Test Solutions to enter values for the configured input fields and inspect prediction output. Prepare examples with clear language, abbreviated wording, and ambiguous descriptions. Hold back a separate acceptance set for comparison between training runs, and record the expected outcome before reviewing the prediction.
On the Solution Statistics tab of the trained ML solution form, set Target Metric to precision, coverage or recall. Enter a numeric value from 0 to 100 in Target Metric Value and select Apply Values. Read the estimated precision, recall and coverage as one set, since changing a target moves the other two, and the resulting values may differ from the requested target because of the data distribution. Decide which error the workflow can tolerate before you move a value.
Do not treat a larger target number as proof of a better model. Compare the resulting class behavior against your acceptance examples. Use the testing and acceptance checklist to organize the choice before expanding automated handling.
Advanced training changes need a different review than metric adjustments.
Adjusting targets on a trained solution and changing how a model learns are separate activities. For example, a class recall parameter steers training toward a selected class. It requires admin or ml_admin and applies to one class per solution definition. Higher recall can reduce precision and coverage, so document why that tradeoff suits the workflow.
In Advanced Solution Settings, select New, then choose Add class recall value while training in Solution Parameters. Enter the class and requested recall in User inputs using ClassName:RecallValue, select Submit, and train the saved solution to incorporate the change. Use a real class name from your output values.
XGBoost is another optional training configuration requiring admin or ml_admin. Under Advanced Solution Settings, create a parameter record and choose Use XGBoost algo for classification model training. Submit the parameter record and the refreshed setting form. Evaluate it as a candidate against your baseline using the same acceptance examples.
For model hyperparameters, admin or ml_admin can add Config parameters for model config in classification through Solution Parameters. User Inputs takes the edited key-value pairs without the enclosing JSON label, braces, or parentheses used in scripting. Submit the setting and retrain. Change parameters with a stated hypothesis and preserve the previous configuration so the comparison remains understandable.
Copy Solution Definition is the route for a controlled experiment: the copy inherits the full configuration, so the variable you want to test is the only thing you should change. Label the copy for its experimental purpose so nobody mistakes its results for those of the live definition.
For help planning this work, see ServiceNow implementation.
A retraining schedule should follow evidence of change in the data.
The schedule choices run from a one-time run to a repeat every 180 days. Initial training should stay deliberate while the definition is changing. Once the inputs, filter, and acceptance criteria are stable, select a schedule that reflects how quickly your service catalog, labels, and language change.
Before a scheduled run, check whether reorganized assignment groups, new categories, or changes to intake forms have altered the examples the model sees. Afterward, compare class statistics and acceptance outcomes with the previous baseline. Assign an owner to review regressions rather than assuming completion means approval.
An instance can start at most 50 new ML training runs in any 24-hour period, and scheduled retrains do not count toward that cap. Coordinate experiments across teams so new requests fit within the capacity the instance shares. A colleague who needs the completion message can subscribe to the Predictive Intelligence Notifications category, but agree first who assesses errors and who approves results, so the message starts a review.
The Predictive Intelligence governance model can help define review ownership. Write up a training record containing the selected population, configuration changes, excluded classes, observed results, and the decision about operational use. If performance falls, investigate the changed data and configuration before making another advanced adjustment.