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
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Default value of the checkbox for this option in the user interface.
DurableId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
Unique identifier for the field. Always retrieve this value before using it, as the value isn’t guaranteed to stay the same from one release to the next. To simplify queries, use this field.
EntityDefinition
Type
EntityDefinition
Properties
Filter, Group, Sort
Description
The object to which this change applies.
EntityDefinitionId
Type
string
Properties
Filter, Group, Nillable, Sort
Description

The ID of the EntityDefinition containing the record.

IsEditable
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether this option is editable by the user when updating the owner using the OwnerChangeOptions SOAP header.
Label
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The label that corresponds to the option in the user interface.
Name
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The unique name for the option.
ParentId
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The durable ID of the parent OwnerChangeOptionInfo record. Available in Tooling API version 44.0 and later.

Example

Retrieve all the change options for contacts.


SELECT Id, Name, Label, IsEditable, DefaultValue, EntityDefinition.QualifiedApiName 
FROM OwnerChangeOptionInfo 
WHERE EntityDefinition.QualifiedName='Contact’

Retrieve the change options for opportunities.


SELECT DurableId,EntityDefinitionId,IsEditable,Label,Name,ParentId
FROM OwnerChangeOptionInfo 
WHERE EntityDefinitionId.DurableId = ‘Opportunity’