You need to sign in to do that
Don't have an account?
koti senagal
how to solve this error
hi this is koti
i will get this type of "Argument must be an object that implements Database.Batchable " in shedule apex program
how to solve this error pls give me the answer
i will get this type of "Argument must be an object that implements Database.Batchable " in shedule apex program
how to solve this error pls give me the answer
Please check whether your batch class name is in below format or not.
global class BatchClassName implements Database.Batchable<sObject>{}
Follow the procedure explained in the below link.
Also make sure, to have a batch class initialized before you call it in schedule class execute method.
global void execute(SchedulableContext sc) {
batchable b = new batchable();
database.executebatch(b); // This must be the place where you would currently see this error.
}