Skip to main content
Chakra Varthi Konreddy (Salesforce) a posé une question dans #Apex
Are there any limittion for batch Apex,like

@max how many records can be retrieved,

@max how many records can be processed for dml operations and how many will return as a result of dml operation

 and what is meant by the term statefull related to batch apex,finally how to call another batch from one batch and the things to

 keep in mind and best practices of batch apex

 your answers and suggestions will be highly appreciated
1 réponse
  1. 14 mai 2015, 10:12

    Hi ,

    Please check with belwo links it will help .One aection is there "Batch Apex Governor Limits" .Please check .Statefull is a key word which we need to add with  class signature to make the variable state till end of execution .

    https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm

    We can use like below .

    global class SummarizeAccountTotal implements Database.Batchable<sObject>, Database.Stateful{}

    Thanks

    Manoj

     
0/9000