Sep 26, 2019 in Salesforce
Q: What is Future Annotation(@Future)?

1 Answer

0 votes
Sep 27, 2019
Use the future annotation to specify that these methods that are executed asynchronously.

Methods with future annotation must be static methods

Methods with future annotation can only return a void type.


global class class_name



Static void methodname(parameters)


//body of the method


Click here to read more about Salesforce
Click here to read more about Insurance

Related questions

0 votes
Sep 24, 2019 in Salesforce