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
SFDC Coder 8SFDC Coder 8 

update trigger on Task from Task to Contact

Hi All, 
I am new to Salesforce.
I want to update contact records when task fields are updated. (I have WhoId in Task)
I have 3 fields in Task : F1__C, f2__C, f3__C.
I have 3 fileds in Contact : CF1__c, CF2__c, CF3__c

When ever the 3 fileds updated in Task, I want to update same values to contact.

How to write trigger for this?

Please help me
Thanks in Advance!!
Simha YadavSimha Yadav
@SFDC,

For this you need to write after update and after insert events in trigger,search in google you will get the code