---
schema_version: "1"
id: 4cdb06438084af9600234573d709a68ae0f69fcdda107cb7402071fb804f8635
title: WorkGoalHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workgoalhistory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workgoalhistory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6ce781b850cba0c40cdc3b29a0df723d786d66645aec2b18d50116ff752fb661
description: Represents the history of changes to the values in the fields of a WorkGoal. Access is read-only. This object has been deprecated as of API version 35.0. Use the GoalHistory object to query historical information for WDC goals.
---
# WorkGoalHistory

Represents the history of changes to the values in the fields of a WorkGoal. Access is read-only. This object has been deprecated as of API version 35.0. Use the GoalHistory object to query historical information for WDC goals.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

The original WDC feature is unavailable as of Spring '22. This object isn't available as of API version 54.0. For more information, see [Phased WDC (legacy Work.com) Feature Retirement](https://help.salesforce.com/s/articleView?id=000356306&type=1&language=en_US).

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

You can also enable delete() in API version 42.0 and later. See [Enable delete of Field History and Field History Archive](https://help.salesforce.com/articleView?id=000321814&type=1&mode=1&language=en_US "HTML (New Window)").

## Fields

| Field Name | Details |
| --- | --- |
| Field | 
Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The name of the field that was changed.





 |
| NewValue | 

Type

Any Type

Properties

Nillable, Sort

Description

The new value of the field that was changed.





 |
| OldValue | 

Type

Any Type

Properties

Nillable, Sort

Description

The latest value of the field before it was changed.





 |
| WorkGoalId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the Goal. Label is Goal ID.





 |