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
penchala rajupenchala raju 

What is the difference between Trigger.oldMap or Trigger.NewMap

KaranrajKaranraj
Trigger.oldMap will contains the old version of sObject record.Note that this map is only available in update and delete triggers.
Trigger.newMap will contain new version of sObject. Note that this map is only available in before update, after insert, and after update triggers.
Ezhil RobertEzhil Robert
Hello Karanraj.. Can you please find my questions which I raised, it will be so useful for me if you try to answer them.