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
OleGoRulesOleGoRules 

Last Activity Date on Tasks and Events

Hey guys, I have a bunch of custom fields (In person drop ins, appointsments booked, meetings attended etc) at the contact level. I need the last activity date field to reflect any activities related to these fields and nor if a task or events are associated to the contact. I created a custom 'Last Activity' Date field and created a workflow rule with the follow. If captures the date when any one of the custom fields are modified however, it doesnt capture the date when a task or event is created. Is there something wrong with my formula?

OR( 
ISCHANGED(LastActivityDate), 
ISCHANGED(In_Person__c), 
ISCHANGED(Appointments_Booked__c), 
ISCHANGED(Meetings_Attended__c) 
)