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
RadramRadram 

Help needed on Trigger:

Hello,

 

I need to write a Trigger to Copy Name and Email fields from Contact Object into a Custom Object if there is a change in the Original Name and Email fields. IF a Contact is bulk uploaded/updated into Salesforce, the Name, Email fields should be compared to the old ones and if there is any change, that changes should be copied into the Name and Email fields of the Custom Object.

 

Thank you so much.


Radram

vishal@forcevishal@force

By Original, do you mean the values that were put for the first time when the record was created or just the previous value before every change?

RadramRadram

Hello VIshal,

 

The Original is the value when the record is first created. The Contact record is created and after any bulk uploads, it has to be checked for changes.

 

 

Thank you.