declarative-lookup-rollup-summaries icon indicating copy to clipboard operation
declarative-lookup-rollup-summaries copied to clipboard

Globally enable or disable real-time DLRS calculations

Open petervukovic opened this issue 6 years ago • 4 comments

Background:

When doing mass record updates via Bulk API, and the record has DLRS triggers on it, Salesforce often throws System.LimitException: Too many SOQL queries as each record update is triggering a recalculation. The resolution is to temporarily deactivate DLRS on the affected records, then reactivate them once the bulk operation is completed. This is time consuming especially when the record is involved in multiple summaries.

Enhancement:

Introduce a global real-time switch that would allow users to enable or disable real-time calculations entirely in order to support mass record updates.

petervukovic avatar Jan 29 '19 23:01 petervukovic