Triggers
ü Trigger is a Custom Apex Code, which
will get fired Automatically upon performing the DML Events.
ü Trigger will get fired upon
performing the DML operations (insert, update, delete, undelete) on the object
records.
ü By using Triggers, we can implement
the complex validation rules, complex Business Logics, and complex
Transactional flows inside the application.
ü Triggers can fire on both Before and
After performing the operations.
ü By using Triggers, we can perform all
the DML operations (like insert, Update, Delete, Upset, Undelete) on the same
object or on any other object records. Triggers will get fired Asynchronously.
ü Each trigger should be get associated
with an object. But an object can have one or more associated triggers.
0 Comments