Thursday, 13 September 2012

Chaining of Batches in APEX no more pain

Starting a Batch Job from Another Batch Job

You can now start a batch job from another batch job by calling Database.executeBatch from the finish method of the batch class. This allows you to link your batch jobs and create a chain of jobs. Note that the governor limits of batch jobs still apply. This change applies to batch Apex saved using API version 26.0 and later. Previously, with Apex saved using API version 25.0 and earlier, you couldn’t call Database.executeBatch from within any batch Apex method. The version used is the version of the running batch class that starts another batch job. If the finish method in the running batch class calls a method in a helper class to start the batch job, the API version of the helper class doesn’t matter.


  1. Thankyou for sharing this.
    Web Designing Company In Chandigarh-Robtechworld cares about understanding you and your customers.
    Website Designing Company In Chandigarh

  2. Thank you for sharing this.
    The objective of this PG Diploma course is to provide the candidates with the best Detail knowledge and skills in the Process Safety Engineering discipline to facilitate faster learning curves while on the job.
    Process Safety Engineering Course


Introducing Lightning Base Components

Lightning Base Components are great addition to the platform and in fact revolutionary .One of the concerns around lightning component ...