seamusocionnaigh / eventmonitoringplus

A lightweight collection of CRM Analytics dashboards for gaining a better understanding of Event Monitoring data.
30 stars 15 forks source link

Remove "from job id *" from apex class names #5

Closed FeldhackerChrisPFG closed 1 year ago

FeldhackerChrisPFG commented 1 year ago

Love the Event Monitoring Plus dashboards, they are great, and Salesforce should incorporate these into the core app!

For the Apex Exception Analysis, most of the Apex class names are fine, but when the exception involves an apex job, then the class name appears as "'SomeClass' from job id 707ablahblah". And since each job id is unique, even though errors appears in the same apex class multiple times, each entry is treated as distinct.

Screen shots: image image

The result is that it is more difficult to get an accurate picture of apex job failures.

Is it possible to remove the "from job id *" portion from the class names?

seamusocionnaigh commented 1 year ago

Sorry for the delayed reply on this. Agreed, the issue is a major usability challenge. The challenge is how to parse and reformat the error value on a row-by-row basis within SAQL at dashboard runtime. It's costly and limited to a certain row limit. It's possible to do in a CRM Analytics recipe, or, off-platform in Python before loading back into CRMA.