Context Variables allow developers to access run-time context of any trigger.
These context variables are contained in System.Trigger class.
Types of context variable:
trigger ApexTrigger on Account(before insert)
for(Account acc: Trigger.new)
acc.NumberOfEmployees = 100;
Note: This sObject list is only available in insert, update & undelete triggers and records can only be modified in before triggers.
< < Previous
Next > >
The batch is going to start shortly. Fill the form given below to Register yourself now.
Fill the form below to get a demo of this course.
Online Salesforce Development Course is soon going to be launched. Please fill the form and we will notify you about the course.