+ 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

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