I am getting "AsyncApexExecutions Limit Exception" in below code -
Can anyone explain the issue? i have been getting more than 1 lakh records in start method using queryLocator but didn't get this exception. So what is wrong in this code
global class SyncCalendarsUpdates implements Database.Batchable<sObject>, Database.AllowsCallouts {
global Database.QueryLocator start(Database.BatchableContext BC) {
String query = 'SELECT Id, Event_ID__c, Description__c, Event_Owner__r.Id, Subject__c, Start_Datetime__c, End_Datetime__c, Click_Key__c FROM Updated_Event__c';
return Database.getQueryLocator(query);
}
global void execute(Database.BatchableContext BC, List<Updated_Event__c> scope) {
}
global void finish(Database.BatchableContext BC) { }
}
Event
andUpdated_Event__c
?