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.
Assignment Rule Header
The Assignment Rule header is a request header applied when creating or updating
Accounts, Cases, or Leads. If enabled, the active assignment rules are used. If disabled, the
active assignment rules are not applied. If a valid AssignmentRule ID is provided, the
AssignmentRule is applied. If the header is not provided with a request, REST API defaults to
using the active assignment rules.
Header Field Name and Values
Field name: Sforce-Auto-Assign
Field values
- TRUE. Active assignment rules are applied for created or updated Accounts, Cases, or Leads.
- FALSE. Active assignment rules are not applied for created or updated Accounts, Cases, or Leads.
- Valid AssignmentRule ID. The given AssignmentRule is applied for created Accounts, Cases, or Leads.
TRUE and FALSE are not case-sensitive.
If the header is not provided in the request, the default value is TRUE.
Example: Sforce-Auto-Assign: FALSE