Newer Version Available
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.
For more information, see ActivityHistory in the Object Reference.
Fields
| Field Label | API Field Name | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
| Account ID | AccountId | reference | 18 | |||
| Activity ID | Id | id | 18 | |||
| Activity Subtype | ActivitySubtype | picklist | 40 | |||
| All-Day Event | IsAllDayEvent | boolean | ||||
| Assigned To ID | OwnerId | reference | 18 | |||
| Call Duration | CallDurationInSeconds | int | 8 | |||
| Call Object Identifier | CallObject | string | 255 | |||
| Call Result | CallDisposition | string | 255 | |||
| Call Type | CallType | picklist | 40 | |||
| Closed | IsClosed | boolean | ||||
| Comments | Description | textarea | 32000 | |||
| Created By ID | CreatedById | reference | 18 | |||
| Created Date | CreatedDate | datetime | ||||
| Date | ActivityDate | date | ||||
| Deleted | IsDeleted | boolean | ||||
| Duration | DurationInMinutes | int | 9 | |||
| Email Message ID | AlternateDetailId | reference | 18 | |||
| End | EndDateTime | datetime | ||||
| High Priority | IsHighPriority | boolean | ||||
| Last Modified By ID | LastModifiedById | reference | 18 | |||
| Last Modified Date | LastModifiedDate | datetime | ||||
| Location | Location | string | 80 | |||
| Name ID | WhoId | reference | 18 | |||
| Priority | Priority | picklist | 20 | |||
| Public | IsVisibleInSelfService | boolean | ||||
| Related To ID | WhatId | reference | 18 | |||
| Reminder Date/Time | ReminderDateTime | datetime | ||||
| Reminder Set | IsReminderSet | boolean | ||||
| Start | StartDateTime | datetime | ||||
| Status | Status | picklist | 255 | |||
| Subject | Subject | combobox | 80 | |||
| System Modstamp | SystemModstamp | datetime | ||||
| Task | IsTask | boolean | ||||
| Time | ActivityDateTime | datetime | ||||
| Type | ActivityType | picklist | 40 |