Newer Version Available
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
describeSObject(), query(), retrieve()
Supported REST HTTP Methods
GET
Fields
| Field | Details |
|---|---|
| DefaultValue |
|
| 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 EntityDefinitionId.DurableId = ‘Opportunity’