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
CvrKCvrK 

Is it possible to use perform DML operation using trigger.Newmap or trigger.old map without trigger.new or trigger.old in the same trigger code?

Hi ,
Does trigger.newmap or trigger.oldmap used only to compare the values or is it possible to perform DML operation based on them alone,i mean without using trigger.new or trigger.old in the same trigger code
pconpcon
What?  Trigger.new will always exist if Trigger.newMap exists.  Can you expand upon what you are trying to do?