Q.このオプションを有効にすると、Apex ジョブが失敗する可能性がありますか?
A.当オプションを有効にすると、スケジュール済みのジョブが関連・依存するクラスを、デプロイすることが可能となります。
(※設定 > リリース > リリース設定 画面の "リリースオプション" セクションにて設定できます。)
しかしながら、スケジュール済みのジョブが関連・依存するApexクラスの変数や、メソッドの引数を
変更すると、実行時にエラーが発生する可能性があります。
例えば、バッチクラスAから別のクラスB上の totalSales( Account account, Boolean true ) といったメソッドを呼び出していた場合
このクラスBのメソッドを totalSales( Account account ) と変更してデプロイすると、実行時にメソッドの引数が
一致しなくなるので、エラーが発生します。
その為、呼び出し先のクラス、継承関係にあるクラス等の変数やメソッドを変更してデプロイする際は、ご注意下さい。
Apexジョブの状況が「処理中」にデプロイした場合は、更新後のクラスは実行されません。(更新前のクラスが実行されます。)
000387304

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.