How to handle exception in Data Page with respect to Connect REST?
How will you handle exception handling with Data Pages? I have a data page which a source as Connect Rest, now I need to do the exception handling and this page is referred in multiple pages in UI, activity. How do you do the exception handling?
***Edited by Moderator: Pallavi to update platform capability tags***
For the Data-pages, the response data transform is invoked after the connector call is complete. If there is an issue, messages are added.
In your response data transform, use a when condition to check for any error messages on the page. If an error has occurred, apply the reusable error handling data transform (pxErrorHandlingTemplate)
The error handling flow feature detects errors that are not detected in a data page or an activity. This feature is always enabled.
The error handler flow allows you to implement a process for handling the error. It is typically used when the connector response is not required immediately — for example, when updating a legacy system.
It appears that the image you inserted into your reply isn't displaying. If you'd like, you can click the pencil icon to edit your reply and re-insert the image using our image insert option in the editor toolbar.
Marissa | Senior Moderator | Pega Collaboration Center