Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Create an assignment rule

Automatically assign a record according to one or more conditions in an assignment rule. Assignment rules are designed to run at the time you open a record.

Before you begin

Role required: assignment_rule_admin or admin

Procedure

  1. Navigate to All > System Policy > Rules > Assignment.

  2. Select New.

  3. On the form, fill in the fields.

FieldDescription
NameThe descriptive name for the assignment rule.
ActiveOption to activate the assignment rule.
Applies to
Table

The table with the records that the assignment rule applies to.

The list shows only tables and database views that are in the same scope as the assignment rule. If you select a custom table that extends the task table, and for the assignment rule to work properly, you must clear the instance cache by navigating to https://<instance_name>.service-now.com/cache.do.

Important: Clearing the system cache can affect overall performance, and degrade system response times. Do not run cache flushes during business hours, and do not trigger cache flushes automatically.

ConditionsThe conditions under which the assignment rule applies.
Assign to
UserThe user the event is assigned to.
GroupThe group the event is assigned to.
Script
ScriptA script to specify advanced assignment rule functionality. The script should evaluate to the sys_id of a user or user group. The current.variable_pool set of variables is available. Note: Make sure the input in the script is correct, and that the input type matches the field type in the Assignment Rule script. For example, if the assignment rule script sets the value of an Integer field, and the value in the script is set to String, the assignment rule may yield unexpected results.
Optional fields
Match conditions
  • Any

If any of the conditions are met, assignment rule applies.

  • All

If all the conditions are met, assignment rule applies.

Execution OrderThe order in which the assignment rule is processed. If assignment rules conflict, a rule with a lower-order value takes precedence over a rule with a higher value. If the order values are set to the same number, the assignment rule with the first matching condition takes precedence over the others. Only the first assignment rule with a matching condition runs against a record.

Condition editor

In this example, the condition statement automatically assigns any incident opened in the Network category to the system administrator in the Network assignment group.

Image omitted: Assignment.png
Applies To
Image omitted: assignment-assign-to.png
Assign To

Parent Topic:Defining assignment rules

Related topics

Assignment rules module

Data lookup rules

Precedence between data lookup, assignment, and business rules

Workflow assignments

Baseline assignment rules example

Create an assignment data lookup rule