OBLYTECH Logo
OBLYTECH Logo

Machine Learning Solution Definitions

If tickets reach the wrong team or agents keep hunting for similar cases, define the decision before you set up a machine learning solution in ServiceNow. State the result you need, the past records you have for training, and the data you have when a prediction is made. Choose classification, similarity, or clustering, and check results before you automate record changes.

Define the decision before defining the solution

A request to automate ticket handling needs a tighter definition before setup begins. Predicting an assignment group, finding a similar resolved case, and grouping repeat issues answer different questions. Write the intended decision in one sentence that names the record, the input you have, and the result you expect. That sentence sets the limits for training and review.

For example, a planned incident solution might use the first description to suggest an assignment group. Reviewers should then judge whether the suggestion sends the incident to the right place. A similarity solution is different. Reviewers must judge whether the returned records help dig into the issue. Counting a returned record as a correct field prediction would measure the wrong outcome.

Predictive Intelligence supports classification, similarity, and clustering frameworks. IT Service Management can use past instance records to build classification and similarity solutions for Incident Management. For the setup work that follows this definition, see Predictive Intelligence solution configuration.

Choose the machine learning solution for ServiceNow records

Classification predicts a field value. Similarity recommends related records. Clustering sorts records into groups. Pick the framework from the decision the user must make. Do not pick a familiar template and then try to fit the workflow around it. Give each planned solution its own acceptance test.

Customer Service Management gives real examples. CSM Case Assignment predicts Assignment group from Short description. CSM Case Categorization predicts Category, and CSM Case Prioritization predicts Priority, using that same input. Grouping of Cases into Topics uses clustering to sort similar cases by Short description. These examples show why the output belongs in the definition before training starts.

Similarity asks a different review question. Recommended Open Cases and Recommended Resolved Cases return similar cases. Similar Knowledge Articles compares article data with the case Short description. A good match can help an agent without changing a field. Predictive Intelligence for customer service case management covers the wider case workflow.

Check what is available and how it behaves on your instance and release. In Brazil, the regression framework is deprecated. Existing regression solutions still work, but you cannot create new ones. Do not base a new numeric prediction design on creating that framework.

Specify training records, inputs, and outputs

The training set should reflect the work the solution will meet. As a planning step, find which past records hold solid outcomes and which come from a different way of working. Old routing decisions can mislead after a group reorganization. Review those records with the process owner before you treat them as good examples to learn from.

Keep inputs you have at prediction time apart from data added later. If a case must be categorized when it is created, an agent’s final investigation notes are unsuitable evidence for that first decision. Note the timing next to each field choice. Then someone who knows case handling but does not build models can review the planned solution.

For Task Intelligence field prediction in Customer Service Management, you need ml_admin or ti_admin to create and train models in the Task Intelligence Admin Console. The tia_admin role includes ml_admin and allows all Task Intelligence model actions, including create, edit, and monitor. Its training sources include Email [sys_email], Case [sn_customerservice_case], tables that extend Case, and Interaction [interaction]. Input fields supply evidence. Output fields name the values to predict. You can change the recommended inputs.

That Task Intelligence model can also use text from supported attachments. It ignores unsupported attachment formats. When no usable attachment text exists, the model uses the input fields you set. Include examples with no attachments in a review set so the evaluation matches how cases arrive. Keep this behavior apart from assumptions about other Predictive Intelligence solution types.

Evaluate predictions against the operational decision

Write acceptance criteria before you review model results. For an assignment prediction, ask whether the chosen group can own the work. For article recommendations, ask whether an agent could use the content to move toward a fix. For clustered topics, ask whether the grouping supports a coherent investigation. These are review criteria to agree on with the process owner, not more product settings.

  1. Prepare examples that show routine work, vague descriptions, and less common outcomes.
  2. Record the expected decision and why a reviewer thinks it is right.
  3. Compare the prediction or match with that expectation and look at the gaps.
  4. Tell errors in past labels apart from errors in the model’s suggested outcome.
  5. Decide which results can inform an agent and which can trigger a record change.

A confidence value needs an operational interpretation. A confident suggestion can still be inappropriate for a sensitive decision. Choose a response to uncertain results, such as leaving the decision with an agent, and test that path as carefully as the accepted prediction path. Do not use one good example as proof that a solution is ready.

In CSM classification, Default Case Based Prediction generates results from active CSM solutions when a case is inserted. Update Prediction Results updates solution precision and coverage statistics when a case closes. These business rules apply to CSM Case Assignment, CSM Case Categorization, and CSM Case Prioritization. They do not set up a reporting method for other solution types.

A solution can be accurate on the records it handles and still reach only a small share of incoming work. Measure coverage next to accuracy, and track the share of new records that get a prediction before you decide whether the solution meets its goal. For ServiceNow implementation planning, see ServiceNow implementation.

Connect an accepted solution to its consumption point

A trained solution and the workflow that uses its output need separate checks. Predictive Intelligence for Flow Designer provides actions that use existing models. The spoke needs Predictive Intelligence, a pre-trained solution, and a sharedservice.worker user for training solutions. Confirm those needs before you blame a flow problem on model quality.

Classification Prediction gets a predicted value from an active classification solution for one input record. Classification Batch Prediction uses many input records. Similarity Prediction returns similar records from the table named in the similarity definition. Choose the action that fits the solution and the records you pass to it.

PI Confidence Check compares a numeric output with a number the user supplies. It can therefore support a branch based on a prediction’s confidence value. Test the comparison and both branches. A model that returns a good prediction does not prove that the later update, notification, or assignment works as planned.

Before an automated outcome goes live, name the person who reviews incorrect predictions and state how work goes on when a prediction does not fit. Agree on that role with the process team so a wrong assignment reaches someone who can fix it. Include an example of a rejected prediction in the handover. Show who gets the record and which decision still needs a human. The machine learning development discussion covers wider data preparation and review points.

Keep the definition aligned with changing work

A solution can fit less well when services, categories, or assignment roles change. Schedule reviews around those changes and look at gaps that users report. Retraining, changing a solution, or building a new one can address prediction drift. Keep the reason for each change so later reviewers know which business change led to it.

For CSM, custom business rules also need testing across the places where predictions are used and the people using them. A definition that works for one intake path may need more review for another. Repeat the operational acceptance test after you change the model or the logic that uses it, and record whether the same decision still holds.

Questions that affect solution boundaries

Does AI Search relevancy need a solution definition?

AI Search relevancy is on by default and you cannot configure it. Each search profile has its own relevancy model, which users cannot view, change, or delete. Treat search ranking as a separate feature. Do not design a field prediction definition to control it.

Can HR use similar ideas for case handling?

HR Service Delivery has machine learning uses such as determining HR services and assignment groups, finding similar closed cases, and recommending knowledge. Define the employee-service decision on its own. A customer service template does not set up the HR configuration.

Is knowledge quality part of the solution boundary?

It can be. Knowledge Management uses machine learning for similar articles and knowledge demand insights. To use knowledge demand insights, the Predictive Intelligence for Knowledge Management plugin (com.snc.knowledge_ml) must be active. If the intended result is an article recommendation, include content suitability in the review instead of treating an article’s appearance as sufficient evidence of success.

Must a CSM template be used unchanged?

No. With Predictive Intelligence and Customer Service Management active, the supplied solution definitions are available as templates. Create your own definition records to customize behavior. Record the intended difference so evaluation checks the customized decision rather than assuming the template’s purpose still applies.