Trigger Syntax
Syntax of a Trigger
trigger TriggerName on ObjectName (Trigger_Events) {
// Your Code
}
----------------------------------------------------------------
* After Insert Trigger Syntax:
trigger TriggerName on ObjectName (After Insert) {
// Your Code
}
* Before Insert Trigger Syntax:
trigger TriggerName on ObjectName (Before Insert) {
// Your Code
}
* After Upadte Trigger Syntax:
trigger TriggerName on ObjectName (After Update) {
// Your Code
}
* Before Update Trigger Syntax:
trigger TriggerName on ObjectName (Before Update) {
// Your Code
}
* Before Delete Trigger Syntax:
trigger TriggerName on ObjectName (Before Delete) {
// Your Code
}
* After Delete Trigger Syntax:
trigger TriggerName on ObjectName (After Delete) {
// Your Code
}
* After Undelete Trigger Syntax:
trigger TriggerName on ObjectName (After Undelete) {
// Your Code
Visualforce Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Apex Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Lightning Component Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Lightning Design System Most Common Interview Questions and Answers for MNCs and Small-Mid Companies ⇒ *** Comming Soon ***
Freelancing Services At Salesforce: Freelancing Services
How to Create Object at Salesforce Classic:- https://sujay-salesforce.blogspot.com/2019/04/how-to-create-object-at-salesforce.html
What is Workflow Rule At Salesforce:- https://sujay-salesforce.blogspot.com/2019/04/what-is-workflow-rule-at-salesforce.html
How to Create Field at Salesforce Classic:- https://sujay-salesforce.blogspot.com/2019/04/how-to-create-field-at-salesforce.html
What is a Trigger:- https://sujay-salesforce.blogspot.com/2019/08/what-is-trigger.html
Comments
Post a Comment