contents
Documentation Version
Summer '15 (API version 34.0)
Language
English
  • Winter '16 Preview (API version 35.0) 35.0
  • Summer '15 (API version 34.0) 34.0
  • Spring '15 (API version 33.0) 33.0
  • Winter '15 (API version 32.0) 32.0
  • Summer '14 (API version 31.0) 31.0
  • Spring '14 (API version 30.0) 30.0
  • Winter '14 (API version 29.0) 29.0
  • English
  • Japanese

AssignmentRule

Represents an assignment rule associated with a Case or Lead.

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
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether this assignment rule is active (true) or not (false).
Name
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Name of this assignment rule.
SobjectType
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
Type of assignment rule—Case or Lead.

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.