New Release v4.8.3 - Improved LogEntry__c Formula Fields for Limits #375
jongpie
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For each transaction limit returned in the Limits class,
LogEntry__c
has 3 fields: "limit name" used, "limit name" max, and a "limit name" formula field that shows "Used / Max". This is helpful for quickly checking how much of each limit has been consumed. However, for some limits with a large max value (such as Heap Size), the formula field does not format the numbers (which is apparently quite difficult to do in a formula field), so you end up with values like "12425 / 6000000" which can sometimes be hard to read at glance, it makes it hard to tell what percentage of the limit has been consumed, as shown in this screenshot:To help with this, 2 changes have been made to all of the limits formula fields on
LogEntry__c
:With these changes in place, the limits are now much easier to understand at a glance - the colored flags help indicate if there are any limits to be worried about (red & yellow flags), and the percentage calculation tells you exactly how close you are to a particular limit:
This discussion was created from the release Improved LogEntry__c Formula Fields for Limits.
Beta Was this translation helpful? Give feedback.
All reactions