You need to sign in to do that
Don't have an account?
hiteshwar marni
A batch apex is called from trigger
Hi All,
A batch apex is called from trigger.If I import records through dataloader do the trigger calls the apex 100 times.How do we handle this situation.I heard that while importing data through dataloader trigger should be deactivated.Is it the accurate solution.
Thanks
A batch apex is called from trigger.If I import records through dataloader do the trigger calls the apex 100 times.How do we handle this situation.I heard that while importing data through dataloader trigger should be deactivated.Is it the accurate solution.
Thanks
trigger sampletgr on account (before insert,before update){
batchapex1 ba = new batchapex1();
ID jobid = database.executebatch(ba);
}