function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Adil_SFDCAdil_SFDC 

Trigger to update a parent object Field

Hi  All

 

I have a field on Case Object " Last Contacted"

This field needs to be updated with the Last Modified Date of the Activity History of the Case. 

A trigger should fire whenever  a new activity history is created or an exisiting activity history is last modified and update the field on case

 

Thanks in advance

kranjankranjan
Hi Adil,

Which Activity History are you referring to here?

Regards
Adil_SFDCAdil_SFDC

Case Object Activity History

Adil_SFDCAdil_SFDC

Task Activities