Discussion3Replies7473Views×Close popoverVENKATA SIVA PRASAD VEGI (VenkatVegi) Tech Mahindra Tech Mahindra US View ProfileSend Message VenkatVegi Member since 2014 3 posts Tech Mahindra Posted: January 1, 2016Last activity: April 15, 2016Posted: 1 Jan 2016 2:12 ESTLast activity: 15 Apr 2016 11:14 EDT Closed Exception Handling through Data pages in Pega-7Hi,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..... Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post, learn more×Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion. Posted: 5 years agoPosted: 2 Feb 2016 4:27 EST×Close popoverIpshita Borkakati (borki) PEGA Principal Technical Writer Pegasystems Inc. IN View ProfileSend Messageborki PEGA replied to VenkatVegiHi 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 Posted: 5 years agoPosted: 2 Mar 2016 2:22 EST×Close popoverIpshita Borkakati (borki) PEGA Principal Technical Writer Pegasystems Inc. IN View ProfileSend Messageborki PEGA replied to VenkatVegiAssuming that the question is about a data page's capability to log a message as part of error handling, the answer is: Yes, we can use one of the out-of-the-box functions in the POST data transform as mentioned in the template (pxErrorHandlingTemplate) data transform as shown below: Posted: 4 years agoPosted: 15 Apr 2016 11:14 EDT×Close popoverVENKATA SIVA PRASAD VEGI (VenkatVegi) Tech Mahindra Tech Mahindra US View ProfileSend MessageVenkatVegi Tech Mahindra replied to borkiSorry for the delayed response. So reg Log message, does the above data transform step works ( pxLogMessage("Sample Log") ? Let me know if my understanding is correct. To log a message, 1. first we need to capture the exception message in data transform by getting the " .pySoapFaultMessage " 2. Now set the log message as you referred above. Param.LogMessage = .pxLogMessage(".pySoapFaultMessage") Please correct me if i am wrong.