Question
Rulesware LLC
SV
Last activity: 27 Jun 2024 10:42 EDT
How to categorize the errors in the HarnessErrorList
I want to display sepparate sections on pyCaseErrorSection if an X exception happens I want to display the OOTB HarnessErrorList if another type of exception happens I want to display another message.
Is there a way to categorize or identify the type of exception Pega is throwing?
For example a PRRuntime Exception happens, I don't want to show the default Pega message on the pyCaseErrorSection using the HarnessErrorList, instead I want to display a simple text "Please contact admin support".
But how to differentiate between a Pega issue versus a business issue (Pega exception vs Validate in a FlowAction)
Thanks.