We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Mikhail Lakhvich • 2 years ago

Hello Denis, thank you for your post.

I just add more information for the calculating execution time of a run base class in batch.

The maximum number of retries and the retry interval are controlled by the batch platform. The maximum allowed value for Maximum retries is 5. The BatchRetryable interface starts after five seconds and stops retrying after the interval time reaches five minutes. (Interval time increases in the following way: 5, 8, 16, 32, and so on.)

Link: Enable batch retries

Denis Trunin • 2 years ago

Yes, probably like that. Thanks for the link

PAVEL VORONTSOV • 1 year ago

It was not easy to disable this retries, implementing RetryableInterface = false did not help, setting parmIdempotent(false) did not help too. The only way I found is explicitly set RetriesOnFailure to 0.
controller.batchInfo().parmBatchHeader().parmRetriesOnFailure(0);
10.0.35 update59