Object Reference for the Salesforce Platform
Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
AssignmentRule
Supported Calls
describeSObjects(), query(), retrieve(), search()
Special Access Rules
- This object is read only. Assignment rules are created, configured, and deleted in the user interface.
- Customer Portal users can’t access this object.
Fields
| Field | Details |
|---|---|
| Active |
|
| Name |
|
| SobjectType |
|
Usage
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 assign that ID to the assignmentRuleId field of the AssignmentRuleHeader. The AssignmentRuleHeader can be set using either SOAP API or REST API.
Assignment rules can also be specified when creating or upserting Case or Lead objects via the Bulk API or the Bulk 2.0 API.