Discussion
Exception Handling through Data pages in Pega-7
Hi,
Much of the focus in PEGA 7 is on usage of Data Pages.
There are articles about Error Handling in Data Pages but not on exception handling.
Like SOAP rules have SOAPFaultCode, SOAPFaultMessage, data pages have pyFaultcode and faultmessage parameters.
Que 1. As per article https://pdn.pega.com/data-source-error-handling-data-pages , does pyInvocationException serves the whole purpose in case of all kinds of Exceptions ?
Que 2. Like there is a Log-Message method which helps in logging a message if we are using an activity (suppose for Connect-SOAP here), what is the possibility in Data Pages for logging a message.
Thanks in Advance.....
Hi Venkata,
I am working to get the response for your query from the concerned team.
In the meanwhile, we need some more information on Que 2. Could you please provide additional details about the use case of what you want to achieve? Do you want the data page to log a message?
Regards,
Ipshita