---
schema_version: "1"
id: cf7d4dcf6d97948a803bed983407d013323e097d8950d0438de7c02e8f88172b
title: ObjectTerritory2AssignmentRuleItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_objectterritory2assignmentruleitem.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_objectterritory2assignmentruleitem.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d701f49a2b25297b32c794cab46048aa63e8cb98646e821031f035d61b515059
description: A single row of selection criteria for an ObjectTerritory2AssignmentRule object. ObjectTerritory2AssignmentRuleItem can only be created or deleted if the BooleanFilter field on its corresponding ObjectTerritory2AssignmentRule object is a null value. Available if Sales Territories has been enabled.
---
# ObjectTerritory2AssignmentRuleItem

A single row of selection criteria for an ObjectTerritory2AssignmentRule object. ObjectTerritory2AssignmentRuleItem can only be created or deleted if the BooleanFilter field on its corresponding ObjectTerritory2AssignmentRule object is a null value. Available if Sales Territories has been enabled.

## Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Special Access Rules

Standard users can access this object. If a territory model is in Active state, any standard user can view that model, including its territories and assignment rules. For territories in an active model, any standard user can view assigned records and assigned users subject to your Salesforce sharing settings. Users cannot view territory models in other states (such as Planning or Archived).

## Fields

| Field Name | Details |
| --- | --- |
| Field | 
Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The standard or custom object field that the rule item will operate on.



 |
| Operation | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The criterion to apply for the rule item. For example: equals, notContain, or startsWith.



 |
| RuleId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The ID of the associated ObjectTerritory2AssignmentRule.



 |
| SortOrder | 

Type

int

Properties

Create, Filter, Group, Sort, Update

Description

The order in which this row is evaluated in relation to other ObjectTerritoryAssignmentRuleItem objects for the given ObjectTerritoryAssignmentRule. This field is required for assignment rule items, which are used in the Boolean conditions in assignment rule formulas.



 |
| Value | 

Type

string

Properties

Create, Filter, Nillable, Sort, Update

Description

The field value or values to evaluate. For example: if the field is Billing ZIP/Postal Code, a value might be 94105.



 |