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.
OwnerChangeOptionInfo
Represents default and optional actions that can be performed when a record’s owner
is changed. Available in Tooling API
version 35.0 and later.
Supported SOAP Calls
describeSObjects(), query()
Supported REST HTTP Methods
Query
Special Access Rules
OwnerChangeOptionInfo is accessible in Tooling API to user profiles with the View Setup and Configuration permission.
Fields
| Field | Details |
|---|---|
| DefaultValue |
|
| DurableId |
|
| EntityDefinition |
|
| EntityDefinitionId |
|
| IsEditable |
|
| Label |
|
| Name |
|
| ParentId |
|
Example
Retrieve all the change options for contacts.
1
2SELECT Id, Name, Label, IsEditable, DefaultValue, EntityDefinition.QualifiedApiName
3FROM OwnerChangeOptionInfo
4WHERE EntityDefinition.QualifiedName='Contact’Retrieve the change options for opportunities.
1
2SELECT DurableId,EntityDefinitionId,IsEditable,Label,Name,ParentId
3FROM OwnerChangeOptionInfo
4WHERE EntityDefinition.DurableId = ‘Opportunity’