Discussion
Tech Mahindra
CA
Last activity: 15 Apr 2016 11:14 EDT
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.....