Add this
global class MyBatchClass implements Database.Batchable {
global (Database.QueryLocator | Iterable) start(Database.BatchableContext bc) {
// collect the batches of records or objects to be passed to execute
}
global void execute(Database.BatchableContext bc, List
records){ // process each batch of records } global void finish(Database.BatchableContext bc){ // execute any post-processing operations } }
Monday, June 26, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment