Home / Questions / Why is BPCheckBatchJobsEnabled important for batch classes?
Explanatory Question

Why is BPCheckBatchJobsEnabled important for batch classes?

👁 5 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

This rule ensures that all classes extending RunBaseBatch can run in batch mode.

Fix:
Implement:

public boolean canGoBatch() { return true; }

This allows scalability and background execution.