Automatically use the Metadata API if the Tooling API throws out an error due
Issue #1066
resolved
We cannot modify an existing Apex class via Tooling API if it is a scheduled job.
Requirement: Automatically use the Metadata API if the Tooling API throws out an error due to the following error:
This Apex class has batch or future jobs pending or in progress This schedulable class has jobs pending or in progress
In order for this to work, the setting in the Deployment Settings | Allow deployments of components when corresponding Apex jobs are pending or in progress has to be enabled
More info: http://releasenotes.docs.salesforce.com/en-us/winter15/release-notes/rn_deploy_with_jobs.htm
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Delivered in 2.2.4.5.
- Log in to comment
Issue
#2231was marked as a duplicate of this issue.