Explain what is the trigger?



Explain what is the trigger?..

Answer / Asad Hussain

A Trigger in Salesforce is a piece of Apex code that runs automatically when specific events occur, such as record creation, update, or deletion. Triggers help enforce business rules and perform complex logic on records. They can be written to run before or after the event occurs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Salesforce Interview Questions

What is the apex in salesforce?

1 Answers  


How can you lock record using soql so that it cannot be modified by other user?

1 Answers  


What is the Apex Trigger in Salesforce?

1 Answers  


What is a dashboard? What are the different components?

1 Answers  


Explain the salesforce dashboard?

1 Answers  


How useful is dynamic dashboard? Can it be scheduled?

1 Answers  


Define a wrapper class?

1 Answers  


Can you edit an apex trigger/ apex class in production environment? Can you edit a visualforce page in production environment?

1 Answers  


What is approval process? Are automated actions supported by approval processes? How many?

1 Answers  


What are Trigger events? & context variables?

1 Answers   Accenture,


Is it possible to invoke an adderror() operation on the trigger.old list in a delete operation in trigger ?

1 Answers  


What is common between java and apex?

1 Answers  


Categories