Asynchronous methods in loops

Prevent the use of asynchronous Apex methods (@future) inside loops, to help your application cope with larger volumes of data properly.

Lorenzo Frattini avatar
Written by Lorenzo Frattini
Updated over a week ago


Even though Apex  written within an asynchronous method gets its own independent set of higher  governor limits, the number of future methods that can be  invoked within a single Apex transaction is limited.  


  • Apex classes

See also

Did this answer your question?