3

Is it possible to create an apex that will send an email notification when Salesforce is approaching certain percentage of its storage usage limit?

2 Answers 2

2

No. There's no API to ascertain the current usage or limit, unless you want to resort to screen scraping, which is unreliable at best. However, emails are sent to administrators as storage reaches 100%, as described in Help and Training.

1
  • Thanks for your response. Just want to clarify if the storage limit (100%) that is sending an email is for the Data Storage and File Storage? The storage usage that we want to have an email notification is for Data and File Storage usage.
    – Zendel
    Commented Nov 18, 2014 at 7:47
0

No need to write your own Apex - just install:

Alert App

Helpful free AppExchange util every admin should have installed for this. It's a little wonky to setup/dated looking UI but it does the job. I am not affiliated with or endorsing this or any specific company or product, just a best practice recommendation.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .