Salesforce & Interviews

Trigger context variables (like Trigger.new and Trigger.old) are just variables defined inside an Apex class — the System.Trigger class. Salesforce simply makes this class available behind the scenes whenever a trigger runs, so all its variables become instantly accessible without us declaring anything.

1 month ago | [YT] | 27