---
schema_version: "1"
id: 939a3a561463f2cc3b4c4054f9c9a12550d3a0cf95aa2eccefc1c237bdf73e82
title: ApprovalDelegation
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_approvaldelegation.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_approvaldelegation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5dc5e4f7cb05f29dab52d1d2069a6c99e35ea1d8f674138230ff58c77d7a9bbd
description: Represents an approval delegation that transfers a user's approval responsibilities to another user, group, or queue for a specified date range. This object is available in API version 68.0 and later.
---
# ApprovalDelegation

Represents an approval delegation that transfers a user's approval responsibilities to another user, group, or queue for a specified date range. This object is available in API version 68.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

This object is available in Enterprise, Unlimited, and Developer Editions where Advanced Approvals is enabled.

## Fields

| Field | Details |
| --- | --- |
| Comments | 
Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The comments added by the user creating the delegation record.



 |
| DelegatedFromUserId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the user delegating their approval responsibilities to another user, group, or queue.

This field is a relationship field.

Relationship Name

DelegatedFromUser

Refers To

User



 |
| DelegatedToId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the user, group, or queue receiving the delegated approval responsibilities.

This field is a polymorphic relationship field.

Relationship Name

DelegatedTo

Refers To

Group (Type = Regular), Group (Type = Queue), User



 |
| EndDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

The date and time when the delegation becomes inactive, adjusted according to the delegator's timezone. If left empty, the delegation remains active indefinitely.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The auto-generated name of the approval delegation record, for example AD-000000001.



 |
| StartDate | 

Type

dateTime

Properties

Create, Filter, Sort, Update

Description

The date and time when the delegation becomes active, adjusted according to the delegator's timezone.



 |

## Associated Objects

[ApprovalDelegationHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object."): History is available for tracked fields of the object.