Under what scenario recursion will happen in triggers and how will you overcome?



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

Post New Answer

More Salesforce Interview Questions

Does salesforce count calls to system.debug() against the code coverage?

1 Answers  


What are the different lightning component bundles?

1 Answers  


What is $resource global value provider? Is it possible to obtain a reference to a static resource in javascript code?

1 Answers  


what is the difference between apex:datatable and apex:pageblocktable components in visualforce?

1 Answers  


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

1 Answers  


Explain the term 'Data Skew' in Salesforce?

1 Answers  


What is public group? : salesforce sharing and security

1 Answers  


What is the difference between trigger. New, trigger. Old, trigger.newmap and trigger.oldmap?

1 Answers  


Write a code to find the average amount for all your opportunities by campaign?

1 Answers  


Explain the use of test.setpage() ?

1 Answers  


What happens with existing visualforce pages in lightning experience?

1 Answers  


Who is the force.com developer community?

1 Answers  


Categories