Skip to content

handle "too many concurrent batch jobs" error #3

@groundwired

Description

@groundwired

Because of the Apex limit for batches, it is possible for an org with a lot of records to hit a batch error by running five big CC jobs in a row. Here is the error that they get, and we get it too.

Apex script unhandled exception by user/organization: 00530000006NZCU/00D30000001FZ8R
Visualforce Page: /apex/gwcc__campaignCombiner
caused by: System.LimitException: Attempted to schedule too many concurrent batch jobs in this org (limit is 5).
Class.GWCC.GW_CTRL_CampaignCombiner.combine: line 397, column 1

Ideally, we would handle this error and present a decent explanation to the end user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions