---
schema_version: "1"
id: 5c28aa8ddcb71d97a276873dbac2d81dcb19c3a9205eab4e2e9f55a22173b39c
title: Modify Routing Logic with Custom Weighted Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/262-0-0/rn_om_custom_weighted_rules.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_om_custom_weighted_rules.htm&release=262.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 71e84d95233643ea2991f31ce81d5458c119e49908d2f04925d22729d1fd1245
description: Create custom weighted rules to refine routing logic. Custom weighted rules score locations based on standard and custom objects.
products:
  - Cross Cloud
release: "262"
---
# Modify Routing Logic with Custom Weighted Rules

Create custom weighted rules to refine routing logic. Custom weighted rules score locations based on standard and custom objects.

**Where:** This change applies to Order Management in Unlimited, Developer, and Enterprise editions.

**When:** This feature is available as of May 2026.

**How:** Create a custom rule with the weighted type, set a weight, and add conditions. These conditions use any standard or custom object, a field on the object, and a value for the field. Define the condition logic and add a score. Scores apply to locations that meet the conditions.

All weighted rules compare their weight against the scores of qualifying locations to select the best locations for routing.

#### See Also

- [_Salesforce Help_: Create a Custom Routing Rule](https://help.salesforce.com/s/articleView?id=commerce.om_new_custom_rule.htm&language=en_US)