Better Handling of Formula/Trigger Timeout

Status
Not open for further replies.
K

kbachtold

Guest
Currently when there is a timeout running a formula or trigger, the user is presented with a long error message displaying a part of the formula text. This is not meaningful to the typical user, and very difficult to bug. It is also messy if it goes into an email template that is sent to the client. We would like to request some improvements for handling of timeouts with formulas/triggers. - Can the error message reference the object type and trigger/formula name instead of displaying part of the formula text? That would at least be easier to debug and less verbose. - If the error occurs during a trigger inside of an email template, can the error message be something less awkward, like "Error getting {!numEmployees}."? Currently, our users get a snippet that looks like this in their email when there's some sort of database issue at the time of sending an email template: ERROR: Error Error: Execution time 1789311 ms exceeded allowed 240000 ms in formula: var rbv_api = new Packages.com.rb.core.services.api.ServerSideAPI(19592276, 20172946); function wrapper() { /* // KAB 3-20-13: Modify the logic to only count employees where units 0 // to prevent counting employees that aren't actually getting paid (BUG 1147) // KAB 4-2-13: Walk through the e...

Continue reading...
 
Status
Not open for further replies.
Top