Share Your Experience With Others

Future Method Quick Notes For Interview

Future Method:

  • Must be static and can only return a void type
  • parameters must be primitive data type, array or collections of data
  • can’t take standard or custom objects as arguments
  • Can’t be used in VF controller
  • 50 Future calls
  • getContent and getContentAsPDF methods can’t be used
  • Order is not guaranteed
  • Used to call external web service using callout = true and to solve mixed DML error

For more detailed information follow this link:

https://xperiencepartage.wordpress.com/2018/12/10/future-methods

Leave a comment