You need to sign in to do that
Don't have an account?
Jayaramu T 9
please help on this i am getting Limit Exception : Too many SOQL queries: 101 on below code
private static testmethod void oobbatchtest(){
test.starttest();
setup();
OOBDashboardBatch rs=new OOBDashboardBatch();
Database.executebatch(rs,200);
test.stoptest();
test.starttest();
setup();
OOBDashboardBatch rs=new OOBDashboardBatch();
Database.executebatch(rs,200);
test.stoptest();
Could you please post the Code part where you have written the SOQL Query.
No of soql query limit per transaction is 100 in Synchronous.
You must have used more than that or you must have used soql query inside the for loop.
Regards,
Tamilselvan.