function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Priya M 22Priya M 22 

Recursive triggers can be resolved by using the future annotated method

Hi Everyone,

Could please provide me example for avoiding recursive trigger using teh future annotated method.
Prashant Pandey07Prashant Pandey07
Hi Priya,

Please refer this blog that will help you to understand the how you can avoid recursive.

http://blog.jeffdouglas.com/2009/10/02/preventing-recursive-future-method-calls-in-salesforce/
 
You can also you static variable to avoid recursive.

 --
Thanks,
Prashant