Idea

4
Replies
287
Views
DanielV8233 Member since 2017 1 post
Cognizant Technology Solutions Spain SL
Posted: August 30, 2019
Last activity: January 30, 2020

It's possible to set custom error messages and codes using PEGA Datapage API?

I'm using PEGA Datapage API to expose data to another system, for this I use a data page called D_DocumentPackage, when I receive a request with the ID=D_DocumentPackage and a query param caseId="XXXXX"

/api/v1/data/D_DocumentPackage?dossierId=XXXXXXX

the activity that is used as a source of the Data page fetch de data from the case an map in the Data page. The problem is that I can't set a StatusError for instance 404 when there is no result in the searching. Same issue for the error message.

Any suggestion?

***Edited by Moderator Marissa to update platform capability tags; add SR Details****

Low-Code App Development Data Integration SR Exists
Share this page LinkedIn