← All posts

STAYCHARTED BLOG · Machine learning · Rules and automation

ServiceNow assignment rules vs a model trained on your incidents

Assignment rules and data lookup rules work until descriptions vary. When a model trained on your resolved incidents does better, and how to keep both.

By Manoj Mohandas ·

How ServiceNow assigns today

Assignment rules set a group or user when a record matches conditions, such as category is Network and location is Austin. They apply when nothing else has assigned the record.

Data lookup rules use a matcher table: a row for each combination of field values (for example category and subcategory) and the assignment group it maps to.

Both depend on the fields being right. If the caller picks the wrong category, or "Other", or leaves it blank, the rule routes on bad input. Assignment rules can inspect text conditions or use scripts. That still requires someone to define the matching logic; it is different from learning patterns from resolved incidents.

Assignment, data lookup and business rules have execution-order and overwrite behavior. Data lookups can replace existing values when configured to do so. Preserve policy-assigned groups in your integration and test the sequence; placing policy first in this design does not change ServiceNow’s engine order.

Where rules start to fail

  • "Other" and wrong categories. Callers and agents choose categories under time pressure. Broad categories such as "Inquiry / Help" or "Other" can hide the detail needed for routing.
  • The description says more than the fields. "VPN drops every time I join a Teams call from home" names the network team, whatever category was chosen.
  • The matcher table grows. Every new subcategory multiplies the rows to maintain.
  • Reassignment hides the problem. When an incident bounces between groups, the rule was wrong, but nothing measures how often.

What a trained model does instead

A model trained on your resolved incidents reads the short description and description (and any fields you choose) and suggests the assignment group that your service desk actually ended up using, with a confidence.

  • It learns from the final assignment group, so reassignments teach it where incidents really belong.
  • It handles new wording without a new rule.
  • Its accuracy is measured per group on incidents it never saw, so you know where it's strong before you rely on it.
  • Below your confidence cutoff, the incident stays with the Service Desk, as it does today.

Rules and model together

A workflow to configure and test in your instance:

  1. Policy first. Keep assignment rules for anything fixed: VIP callers, security incidents, specific configuration items with a named owner.
  2. The model for the rest. A business rule or flow calls StayCharted when an incident is created without a group from a policy rule, and writes the suggested group (and its confidence) to the record.
  3. A cutoff. Above it, the suggestion becomes the assignment group. Below it, the incident goes to the Service Desk queue for triage.
  4. Corrections feed back. When a group reassigns the incident, that final group is the label for the next version.

Step-by-step ServiceNow guide →

How to decide, with your own numbers

  1. Export 6 to 12 months of resolved incidents with short description, description, category, and the final assignment group.
  2. Train an AI Classifier Model on everything before last month.
  3. Test it on last month's incidents.
  4. Compare with what your rules assigned for the same incidents (the first assignment group), against the final group.

If the model's accuracy beats the rules' first assignment for a group, let the model handle that group. If not, keep the rule.

What about ServiceNow Predictive Intelligence?

ServiceNow sells its own machine learning for incident categorization and assignment. If you're licensed for it and it's working, use it. StayCharted is an option when you'd rather not add that license, want the same model to work across ServiceNow, email and other tools, or want to see the per-group accuracy and review curve before switching. StayCharted vs ServiceNow Predictive Intelligence →

Explore the rules vs machine learning series

Common questions

Do I have to remove my assignment rules?

No. Keep the ones that encode policy. Replace only the ones that guess a group from categories or keywords, and only where the model tests better.

What does the model read?

Whatever you train it on: usually short description and description, sometimes category, configuration item or location as well.

What happens when the model isn't sure?

Below the cutoff you choose, the incident goes to the Service Desk as it would today, and answers below the model’s review cutoff also enter StayCharted’s Review Queue on Essentials and Business. Choose where people review and return their corrections before retraining.

How many incidents do we need?

A few hundred resolved incidents per assignment group is a good start. Groups with fewer can stay on rules.

Sources and further reading

Put it into practice with StayCharted

Start free →

Check plans and allowances · Security and your data