function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jim McCabeJim McCabe 

Error: Only five batch jobs allowed at a time. Please wait a few minutes and try again

We worked with Zuora to develop a renewal run. It is a job that looks at zuora subscriptions that are expiring and creates a opportutnunity and quote according to what was on their subscription.  We are getting a new error "Only five batch jobs allowed at a time. Please wait a few minutes and try again".  Can someone please explain wha the error is and possible resolutions...other than trying in a few minutes.
Thanks for any suggestions.
Vi$hVi$h
I dont know what zuora is , but looking at the error I can tell that there are more than 5 batch jobs running.
Salesforce does not allow more than 5 batch jobs at a time.
You can have a look at this:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm

You can consider calling one job after other.