Loading
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

The LastActivityDate Field Does Not Update for All Contacts in Salesforce Shared Activities

게시 일자: Oct 30, 2026
상세 설명

In Salesforce, Shared Activities let you associate multiple contacts with a single task or event. However, only the primary contact, listed in the WhoId field, has their LastActivityDate updated. Secondary contacts don't have their LastActivityDate field updated even though they are associated with the activity and it appears in their activity timeline.

Salesforce's data model handles activity relationships in a specific way, which causes this limitation. The WhoId field (the field that stores the primary Contact or Lead on a Task or Event) links to a single contact or lead. Additional contacts can be associated through the ActivityRelation object. However, the LastActivityDate field does not consider these secondary associations.

솔루션

This article explains how to work around the fact that Salesforce doesn't natively update LastActivityDate for secondary contacts on shared activities.

Why There's No Out-of-the-Box Fix

There is no out-of-the-box solution for this limitation. However, customers can use these workarounds.

Workaround: Track Activity Dates with a Custom Field

  • Create a custom field, such as MostRecentActivityDate__c.
  • Use a Flow, Scheduled Job, or Apex Trigger to read from the ActivityRelation object.

Update that custom field with the latest ActivityDate of related activities, regardless of WhoId.

추가 자원

Manage Activities 

 

Knowledge 기사 번호

004637111

 
로드 중
Salesforce Help | Article