function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sujit Das 39Sujit Das 39 

How to create a report on all the Governor Limits usage in my org

Hello,

Do we have any way to get all Governor limits in my org e.g. Number of Objects, fields, workflow, validation rules, storage limits etc. I am interested in creating a report saying how soon am I going to exhaust the governor limits.

For each object, salesforce create a 'Object Limit' section. Is there any way we can access that object.

I know we can use Schema class to count fields for each objects. But still there will be a lot of overhead to calculate each limit manually.

Warm Regards,
Sujit
Navandeep_Kaur23Navandeep_Kaur23
As per my knowledge ,it is not possible through standard salesforce reports functionality but you can create custom reports by writing VF page code to see the results returned by the Salesforce Limits Class .
To know more about Limits Class Methods ,please follow the below link.

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_limits.htm