Represents an assignment rule associated with a Case or Lead.
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| Active | boolean | Defaulted on create | Indicates whether this assignment rule is active (true) or not (false). |
| Name | string | Filter | Name of this assignment rule. |
| SobjectType | picklist | Filter | Type of assignment rule—Case or Lead. |
Before creating or updating a new Case or Lead, a client application can query() (by name) the AssignmentRule to obtain the ID of the assignment rule to use, and then assigned that ID to the assignmentRuleId field of the AssignmentRuleHeader. For more information, see AssignmentRuleHeader.