Automation

Record auto-assignment

Define priority-ordered rules that automatically set the owner of a record when it is created or updated — routing to a specific user or distributing across a round-robin group.

What auto-assignment does

Assignment rules run synchronously as part of every record save and set the record's owner automatically. Each rule targets a specific object, fires on a configured trigger event, checks a set of conditions against the record being saved, and — if those conditions match — assigns the record to a configured user or round-robin group. Rules are evaluated in priority order and the first matching rule wins; no further rules run for that record.

The field that assignment rules set is always Owner (the OwnerId field on the record). Rules do not set other fields.

Where rules live

Go to Setup () → Record Auto-Assignments. Rules are scoped per object — pick an object in Object, at the left of the search box under the page's title, to see and manage its rules. One object can have any number of rules. Rules for different objects are entirely independent and never interact.

A rule's page has a header card with its name, pills (Active or Inactive, its object, its trigger) and its buttons (Activate or Deactivate, Edit, Delete). Its settings are in a Details card under it; Edit makes them editable there, with Save and Cancel in the header. The buttons stay on one line; when the window is too narrow, the ones that don't fit move, in the same order, into a ⋮ button at the end of the line.

Create a rule

Click New Record Auto-Assignment on the rules list. Configure the following fields:

  • Name — a label that identifies what the rule does, shown in the list and in run logs.
  • API Name — auto-generated from the name; unique across the workspace. Used to identify the rule in logs and the API.
  • Trigger — when the rule runs:
    • On Create — fires only when a new record is created.
    • On Update — fires only when an existing record's fields are modified.
    • Create & Update — fires on both events.
  • Assignee type — Specific User (always assigns to one named user) or Round-Robin Group (distributes assignments across a group's members in rotation).
  • Assignee — the user or group to assign to, depending on the type selected above.

New rules are always created inactive. After saving, you are taken to the rule's detail page to configure conditions and then activate it. This prevents a partially configured rule from running before it is ready.

Entry conditions

Conditions define which records this rule applies to. A rule with no conditions is a catch-all — it matches every record of the target object that hits the configured trigger.

A condition compares the field as the kind Object Manager defines it as: a number as a number, a date as a date (written like 2026-10-10), a checkbox with True or False, and text as text (a Zip code of 00123 is not equal to 123). A value that is not of the field's kind — abc beside a number — is refused when you save the rule, with a message saying which value is wrong (The condition can't be saved: GraceDays is a number, but 'abc' is not one.), so a rule can't be saved in a state that would stop records from being created.

Conditions are organized into groups. Groups are evaluated with OR logic: the rule fires if any group's conditions are satisfied. Within a single group, configure how clauses combine:

  • Match all filters (AND) — every clause in the group must be true.
  • Match any filter (OR) — at least one clause must be true.
  • Custom — write an expression such as 1 AND (2 OR 3) to define exactly how the numbered clauses combine.

Each clause compares a field on the record to a value with the operators a flow's Conditional Logic offers for the field's type, and the value box is the field's own (a picklist's values, a date, True or False). Text, picklist and lookup fields offer Equals, Not Equals, In (any of), Not In, Contains, Starts With and Ends With (In and Not In take several values: picked from a picklist, or typed and separated by commas); Number, Currency and Percent fields Equals, Not Equals, Greater Than, Less Than, Greater Than or Equal and Less Than or Equal; Date and Date/Time fields Equals, Not Equals, After, Before, On or After and On or Before; a Checkbox Equals and Not Equals. Every type but a Checkbox also offers Is Null, with True (the field is blank) or False (it isn't); a condition can't be saved until one is chosen. Equals or Not Equals with no value checks that the field is blank, or isn't. A condition saved earlier with “is not empty” reads as Is Null False, one with “is empty” as Is Null True, and one with an operator its field no longer offers keeps it. Is Changed checks whether the save changed the field (for example, reassign an account only when its Region changes). Is Changed takes no value and is never true while a record is being created; to treat new records differently, use the rule's trigger (On Create, On Update or Create & Update). A Geolocation field offers only Equals, Not Equals and Is Null; equals means the same latitude and longitude — 40.5 equals 40.50 — and the value is entered in the Latitude and Longitude boxes. Field paths support one level of relationship traversal using dot notation — for example, AccountId.Name reads the name of the related account. On a phone, a clause's Field, Operator and Value boxes are shown one under the other, each the full width.

Conditions are evaluated against the record's values at the moment of the save — including any changes made in the current save operation.

Priority and ordering

Rules for an object are evaluated in priority order from top to bottom. The first active rule whose conditions match the record is applied and evaluation stops immediately — no other rules run for that record save.

Drag rows in the list to reorder them. The reorder is applied atomically: all priority values are updated in a single database transaction, so there is no moment where the order is inconsistent. The order you see in the list is exactly the order used at runtime.

Place the most specific rules at the top and the broadest catch-all rule (if any) at the bottom. A catch-all at the top would always fire and prevent any more specific rule below it from ever running.

Round-robin groups

A round-robin group is a named set of users that receive assignments in rotation. Groups are configured separately from assignment rules and can be reused across multiple rules or approval steps.

The rotation follows a weighted cycle: each group member has a weight (default: 1). The cycle is built by repeating each member as many times as their weight — so a member with weight 3 gets three consecutive slots before the next member. The total cycle length is the sum of all weights. Each time the rule fires and assigns a record, the position advances by one and wraps back to the start when the end is reached.

Each assignment rule that uses a round-robin group maintains its own independent rotation state — the same group used by two different rules has two separate position counters that never affect each other.

To set weights for a round-robin rule, open the rule's detail page. The Rotation Weights section lists all active members of the selected group. Adjust each member's weight to control the proportion of records they receive.

Only active users are included in rotation. If a member becomes inactive or is removed from the group, they are silently excluded from future assignments. If all members in the group are inactive, the rule is skipped and the next rule in priority order is evaluated.

Activation and deactivation

Every rule has an active/inactive toggle. Inactive rules are completely ignored during evaluation — they do not consume a priority slot, they do not block lower-priority rules, and they never set an owner. Deactivate a rule to pause it without losing its configuration. This is useful for temporary rules, seasonal routing changes, or rules you are in the process of reconfiguring.

When you are ready to make a rule live, open it and click Activate. Changes to a rule's conditions, assignee, or trigger take effect immediately on the next record save — there is no separate publish step for rule edits.

Deleting and restoring. A deleted Record Auto-Assignment goes to Deleted Items (the Metadata tab). From there it can be restored — it comes back with its conditions and settings, inactive, so it assigns nothing until you activate it — or deleted permanently. Left there, it is deleted permanently after 15 days. While it is in Deleted Items its API name stays taken: creating another with the same API name is refused with “A deleted Record Auto-Assignment already uses this API name. Restore it or delete it permanently in Deleted Items, or choose another API name.”

Execution behavior

Assignment rules run synchronously within the record save transaction — before the save is committed to the database. This means the owner is set as part of the save itself, not as a background job after the fact. The record is never saved without the correct owner when a rule matches.

  • If no rule matches, the record keeps whatever owner value was provided at save time (or none, if no owner was specified).
  • If the resolved assignee is unavailable — for example, a round-robin group where all members are inactive — the rule is skipped and the next rule in priority order is evaluated.
  • If no rule succeeds, the record saves without assignment and a warning is logged.
  • Assignment rules cannot be bypassed on a per-record basis from the UI. To temporarily stop rules from running, deactivate them before performing the operation.

Pairing with flows

Assignment rules handle the routing decision; flows handle the downstream work. A common pattern: the assignment rule sets the owner, then an after-save flow notifies the new owner with an in-app notification, creates a first-contact task, and logs the assignment as an activity on the record. This separation keeps routing logic simple and fast while keeping follow-on automation flexible.

This guide is part of the Kraftter documentation V1. Visual walkthroughs and examples are coming in a future update.