ActivityHistory
This read-only object is displayed in a related list of closed activities—past events and closed tasks—related to an object. It includes activities for all contacts related to the object. ActivityHistory fields for phone calls are only available if your organization uses Salesforce CRM Call Center.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see ActivityHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccountId | Account ID | reference | 18 | |||
ActivityDate | Date | date | ||||
ActivityDateTime | Time | datetime | ||||
ActivitySubtype | Activity Subtype | picklist | 40 | |||
ActivityType | Type | picklist | 40 | |||
AlternateDetailId | Email Message ID | reference | 18 | |||
CallDisposition | Call Result | string | 255 | |||
CallDurationInSeconds | Call Duration | int | 8 | |||
CallObject | Call Object Identifier | string | 255 | |||
CallType | Call Type | picklist | 40 | |||
CompletedDateTime | Completed Date/Time | datetime | ||||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
CurrencyIsoCode | Currency ISO Code | picklist | 3 | |||
Description | Comments | textarea | 32000 | |||
DurationInMinutes | Duration | int | 9 | |||
EndDateTime | End | datetime | ||||
Id | Activity ID | id | 18 | |||
IsAllDayEvent | All-Day Event | boolean | ||||
IsClosed | Closed | boolean | ||||
IsDeleted | Deleted | boolean | ||||
IsHighPriority | High Priority | boolean | ||||
IsReminderSet | Reminder Set | boolean | ||||
IsTask | Task | boolean | ||||
IsVisibleInSelfService | Public | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
Location | Location | string | 80 | |||
OwnerId | Assigned To ID | reference | 18 | |||
Priority | Priority | picklist | 20 | |||
ReminderDateTime | Reminder Date/Time | datetime | ||||
StartDateTime | Start | datetime | ||||
Status | Status | picklist | 255 | |||
Subject | Subject | combobox | 80 | |||
SystemModstamp | System Modstamp | datetime | ||||
WhatId | Related To ID | reference | 18 | |||
WhoId | Name ID | reference | 18 |