Loading

Activity History Related List Shows 0 Records When Restriction Rules Are Active on the Task Object in Salesforce Sales Cloud

Data pubblicazione: Oct 8, 2026
Descrizione

Some users see Activity History showing 0 or 1 records on Account record pages in Lightning Experience even though activities exist. 

Activity History related list shows "0" or incorrect count on record pages in Lightning Experience due to a Restriction Rule on the Task object filtering out automatically archived activities (IsArchived = true). Clicking "View All" displays activities correctly. Resolution involves updating the Restriction Rule criteria on the Task object. Additionally, this restriction also affects email message visibility, as the rule impacts companion tasks created as part of email message records.

 

Risoluzione

This article answers why the Activity History related list shows 0 or an incorrect count in Lightning Experience when a Restriction Rule is active on the Task object, and how to confirm the cause.

Verify Whether Restriction Rules Are Enabled on the Task Object

Verify whether Restriction Rules are enabled on the Task object or related Activity objects. This condition is the likely cause of the mismatch between the Activity History related list count and the View All results.

Why the Count and View All Differ

The inline Activity History related list counter filters archived activities, and activities owned by other users, under the Task Restriction Rule. The View All page uses a different query path, so it can still display those activities. Explain this behavior to stakeholders.

Numero articolo Knowledge

005460243

 
Caricamento
Salesforce Help | Article