Open petervukovic opened 5 years ago
Hi Peter,
Did you ever find a workaround for this?
Thanks,
Unfortunately no.
On Thu, 12 Dec 2019 at 20:34, delan-flywheel notifications@github.com wrote:
Hi Peter,
Did you ever find a workaround for this?
Thanks,
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/786?email_source=notifications&email_token=AEJ77SGSCWRNS343HGSJAYTQYKG3NA5CNFSM4GTESOI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXYTWQ#issuecomment-565152218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJ77SBSV7VLW3VSLCEYDOLQYKG3NANCNFSM4GTESOIQ .
Just use the lookup summary list view and edit the calc type on all you DLRS at once. Or undeploy the DLRS trigger temporarily and then redeploy it.
On Tue, Jan 29, 2019 at 6:29 PM petervukovic notifications@github.com wrote:
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.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/afawcett/declarative-lookup-rollup-summaries/issues/786, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHzGwxxXKONG9IHitlw68FvzItOl-Nnks5vINk9gaJpZM4aZJOR .
-- Best,
Jim Bartek BTek Ventures, LLC 317-292-6301 BTekVentures.com
Flagg as enhancement for now, though i am sure this has been raised already.
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.