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
Shannon.ax1730Shannon.ax1730 

Need Help with Trigger PLEASE

Or maybe I don't need a trigger. I created a field on a Case called Survey Sent Date which enters the date of when a survey was sent. I want that date to transfer to the Contact object from that case. From what I am reading, it looks like I may have to write a trigger. I am really unsure how to write a trigger. If I write a trigger, do I have to write a class as well?

Thanks in advance for your help!

Shannon

Arun MKArun MK

 

There are certain things u need to decide before writing a trigger.

 

1. Should the action be trigger whenever a record is created / updated.

2. Consider this scenario, You create a case to a Contact and the date is updated as expected. What if another case with different date is created to the same contact. Which Date should be updated in the Contact?

 

Regards,

Arun.