4 respuestas
Hi Abhishek,Trigger.newMap - A map of IDs to the new versions of the sObject records. Note that this map is only available in before update, after insert, and after update triggers.Trigger.oldMap - A map of IDs to the old versions of the sObject records. Note that this map is only available in the update and delete triggers.Follow this link for more info:http://www.sfdc99.com/2014/02/25/comparing-old-and-new-values-in-a-trigger/I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.Thanks,Ajay Dubedi