function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
System.AsyncException: Database.executeBatch cannot be called from a batch or future method.
I got the solution ...because no more than 5 batch job can execute at the same time . Thats why i was getting that.
you can invoke a batch job from a trigger but have to take exterme care !! , are you sure the process context is trigger ? can you elaborate your process of invoking batch , better still if you can post your code. http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch.htm
I got the solution ...because no more than 5 batch job can execute at the same time . Thats why i was getting that.
All Answers
you can invoke a batch job from a trigger but have to take exterme care !! , are you sure the process context is trigger ? can you elaborate your process of invoking batch , better still if you can post your code. http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch.htm
I got the solution ...because no more than 5 batch job can execute at the same time . Thats why i was getting that.