LawrenceLoz / FormulaShare-DX

A native app to support complex Salesforce sharing with quick and easy configuration
MIT License
56 stars 17 forks source link

Prevent records log creation when batch not scheduled #62

Closed LawrenceLoz closed 3 years ago

LawrenceLoz commented 3 years ago

The batch job is required to remove older record logs which fall outside the retention window.

In orgs which do not have the batch scheduled, continuing to create record logs could mean record logs continue to grow indefinitely and could cause the org storage to grow towards the record storage limit.

Note that in proper use a batch should always be scheduled, but this protects the org against misconfiguration scenarios