Under what scenario recursion will happen in triggers and how will you overcome?
Answer / Gautam Kumar Yadav
Recursion in triggers can occur when a trigger updates a record, which then triggers the same trigger again, creating an infinite loop. This issue can be addressed by adding a flag to prevent repeated processing or limiting the number of times a trigger can execute.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does salesforce count calls to system.debug() against the code coverage?
What are the different lightning component bundles?
What is $resource global value provider? Is it possible to obtain a reference to a static resource in javascript code?
what is the difference between apex:datatable and apex:pageblocktable components in visualforce?
There is a master-detail relationship between two objects and I want to ensure that the master object should not have more than 10 child records. How
Explain the term 'Data Skew' in Salesforce?
What is public group? : salesforce sharing and security
What is the difference between trigger. New, trigger. Old, trigger.newmap and trigger.oldmap?
Write a code to find the average amount for all your opportunities by campaign?
Explain the use of test.setpage() ?
What happens with existing visualforce pages in lightning experience?
Who is the force.com developer community?