Context Variables allow developers to access run-time context of any trigger. These context variables are contained in System.Trigger class. Points to consider with Trigger Context Variables: Trigger.new and Trigger.old cannot be used in Apex DML Operations. You can use an sObject to change its own field values using trigger.new but only in before triggers. Trigger.old […]
Related Articles
The post Trigger Context Variable appeared first on S2 Labs By Shrey Sharma.
This post first appeared on Key Roles & Responsibilities Of A Salesforce Administrator, please read the originial post: here