---
schema_version: "1"
id: b7632237ed64b9c347210feee3beb49e52f91fae18f58549984bd12d44550c5e
title: CaseHistory2
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_casehistory2.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_casehistory2.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a40a168fa1888a9af7bcfb56322fe40101dcf241c498b898f173e44d7bc53fcf
description: Represents historical information about owner and status changes that have been made to the associated Case. This object is available in API version 59.0 and later.
---
# CaseHistory2

Represents historical information about owner and status changes that have been made to the associated Case. This object is available in API version 59.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

This object is always read-only.

## Fields

| Field | Details |
| --- | --- |
| CaseId | 
Type

reference

Properties

Filter, Group, Sort

Description

The ID of the Case associated with this record.

This is a relationship field.

Relationship Name

Case

Relationship Type

Lookup

Refers To

Case



 |
| IsDeleted | 

Type

boolean

Properties

Defaulted on create, Filter

Description

Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.



 |
| OwnerId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the contact who owns the case.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| PreviousUpdate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the case was last updated.



 |
| Status | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The status of the case, such as New, Closed, or Escalated.



 |

## Usage

CaseHistory2 entries are intended for case history reports.

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[CaseHistory2ChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object in API version 60.0 or later.