+ Start a Discussion
rajaram.adminrajaram.admin 

Is there any limitations to use @future?

HI,

 give me the reply

 

 

 

 

  Thanks & Regards

Rajaram

Laxman RaoLaxman Rao

Their are some considerations to use @future like 

  • No more than 10 method calls per Apex invocation
  • No more than 200 method calls per Salesforce license per 24 hours
  • The parameters specified must be primitive dataypes, arrays of primitive datatypes, or collections of primitive datatypes.
  • Methods with the future annotation cannot take sObjects or objects as arguments.
  • Methods with the future annotation cannot be used in Visualforce controllers in either getMethodName or setMethodName methods, nor in the constructor.

You can refer for more information :

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation_future.htm

 

 

phiberoptikphiberoptik

Why is this posted in the Formulas and Validations Discussion forum? Please post anything related to code development in the one of the development themed forums.