You need to sign in to do that
Don't have an account?
Reddy@ig
Trigger events for trigger.new and trigger.old?
Hi folks,
I need a tabular column which explains about the trigger events on trigger.new and trigger,old.Please dn't send any links which will link to the google already referd google but still confusion?Can anybody help me?
Tnanks&Regards,
Mr.Reddy
The Basic explanation to it will be this.
When you go to a record, click on edit and change some field A value from 'y' to 'z' and click on save.
If that operation fires a trigger. then,
Trigger.old will have field value as y and
Trigger.new will have field value as z
So in short if a record DML operation fires a trigger, the field values of that record before modifications will be in trigger.old
and after modifications will be in trigger.new