You need to sign in to do that
Don't have an account?
Mohammed Ayyub
Batch Class not processing any batch while executing from Post Install Script Class that implements InstallHandler Interface
Hi,
I am executing a batch class from post install script class that implement Installhandler interface, it executes successfully, but no batches are processed even there exists a lot of relavant records.
When I execute this batch class from elsewhere (developer console) rather than post install script class, its working fine and processing all of the records.
Also, note that both apex class are marked as "without sharing".
Any good answer would be greatly appreciated.
Thanks,
I am executing a batch class from post install script class that implement Installhandler interface, it executes successfully, but no batches are processed even there exists a lot of relavant records.
When I execute this batch class from elsewhere (developer console) rather than post install script class, its working fine and processing all of the records.
Also, note that both apex class are marked as "without sharing".
Any good answer would be greatly appreciated.
Thanks,
It mostly talks about "without sharing" , can you post a bit of code here ?