Newer Version Available

This content describes an older version of this product. View Latest

View the Action History

See which actions were launched, by which agents, and when in the History tab on the Actions & Recommendations component. The History tab also shows the state, or status, for each action, so you can see when an action was started, paused, resumed, and completed. You also can access the action history for a record programmatically using the RecordActionHistory object.
Available in: Lightning Experience
Available in: Essentials, Professional, Enterprise, Performance, Unlimited, and Developer Editions

Lightning console apps are available for an extra cost to users with Salesforce Platform user licenses for certain products. Some restrictions apply. For pricing details, contact your Salesforce account executive.


Use the Component’s History to Understand Status

The History tab lists state changes for actions associated with the record. It helps agents and supervisors grasp status so that they can quickly decide what to do next. For example, in a handoff or escalation, an agent or supervisor can review the history to identify gaps and determine the next step.

Here’s an example. The History tab lists the most recent 20 state changes, sorted with the most recently logged events listed first. Click View More to see the next 20 state changes in the log. Users can filter the list to see actions by status. The filter only applies to the last 200 actions. The component shows the history of guided actions.

Use APIs to Query the Action History

You can also use APIs to query the RecordActionHistory object, which is a big object.

The RecordActionHistory object is read-only. It is available in API version 44.0 and later.

Note

Both synchronous and asynchronous queries are supported. Using SOQL, SOAP, REST, Bulk, or Apex APIs, synchronous queries must follow a specific pattern or they fail. See the description and examples in the Object Reference for Salesforce and Lightning Platform. To learn more about big objects and how to query them, see the Query Big Objects module on Trailhead.

If you have access to Analytics, you can query the RecordActionHistory object and use the data to build an Analytics dashboard. For example, the dashboard can show usage data and compare how many actions were started, paused, resumed, and completed in a given time period.You can display an Analytics dashboard with RecordActionHistory data.