What are the trigger best practices?
Answer / Jayant Sachan
Trigger best practices in Salesforce include: limiting triggers to no more than 100 lines of code, minimizing the number of DML statements per trigger, using asynchronous processing with Future methods or Queueable Apex when appropriate, and properly handling exceptions and errors.
| Is This Answer Correct ? | 0 Yes | 0 No |
How will you test your code through Sandbox?
What is the time-dependent workflow?
What will happen if you try to update record in after trigger context?
What is group by?
Can call apex class method on the fly (dynamically)?
What is the purpose of <script> tags? : salesforce visualforce
What are charts?
Validation rules, what are they use for in salesforce?
When to use public class and when to use global class?
What is a difference between System log and debug log?
Is lightning an mvc framework ? : salesforce lightning component
Can we create a dashboard using Visual-force page? and what all the components we use here?