Async Apex Usage Notification - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
630  Points
Open
Idea has been posted. Give it an upvote or downvote.

Async Apex Usage Notification

Development (Apex, LWC & VF)

Async Apex consists of all batch Apex, future methods, Queueable Apex, and scheduled Apex. There is a rolling 24-hour call limit of 250,000 or the number of user licenses in your org multiplied by 200, whichever is greater.

Whenever you hit this boundary, it could put your business processes to a halt as the functionality just stops working until the 24-hour period is over.

Please implement a warning mechanism equal to that of API Usage Notifications. So a treshold percentage to be specified by the end user, and a user to send the notification to.
example

Merge Idea · Flag

Latest Comment from Salesforce

  • Chris Peterson - 5 days ago

    With the addition of the OrgLimits class to Apex it became possible to build this checking natively (although it is admittedly not out of the box) in Apex logic.

     

    One open-source (and available as a package) option for configuring monitoring and warnings is https://github.com/dhoechst/salesforce-limit-monitor, but you can use the OrgLimits class and scheduled Apex to build one as needed.

     

    Keeping the idea open, but there are solutions available.

     

     

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

No results found.

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.