Newer Version Available
RecordActionHistory
Supported Calls
describeSObjects(), query(), retrieve()
Special Access Rules
This object is always read-only.
Fields
| Field | Details |
|---|---|
| ActionDefinitionApiName |
|
| ActionDefinitionLabel |
|
| ActionType |
|
| IsMandatory |
|
| LoggedTime |
|
| ParentRecordId |
|
| Pinned |
|
| RecordActionId |
|
| State |
|
| UserId |
|
Usage
The RecordActionHistory object represents the lifecycle of an action on a record as it goes through different states.
- ParentRecordId
- ParentRecordId, LoggedTime (DESC)
- ParentRecordId, LoggedTime (DESC), RecordActionId
For example, this SOQL query follows the ParentRecordId, LoggedTime (DESC) pattern.
Asynchronous SOQL queries do not need to follow a pattern, and can query any field.
Apex triggers cannot reference big object records. Use SOQL queries if you want to query RecordActionHistory records in Apex.
For more information about the Actions & Recommendations component and how it works with RecordActions, see the Lightning Flow for Service Developer Guide. Learn more about big objects and how to query them in the Query Big Objects module on Trailhead.