Activity › Forums › Salesforce® Discussions › What is the use of Future method in Batch class in Salesforce? › Reply To: What is the use of Future method in Batch class in Salesforce?
MemberMarch 2, 2021 at 10:48 am
Future Method is one of the options to run asynchronous jobs.We can use future methods for any operation we’d like to run asynchronously in its own thread in the background when system resources become available.Future methods provide higher governor limits.
Future methods are typically used for:Callout to external web services.(Calling web services from triggers.)
Operations which you want to run in their own thread.
Isolating DML operations on different subject types to prevent the mixed DML error.