Bhavya Tyagi (Bhavya)
Coforge DPA
Senior Technical Lead
Coforge DPA
Bhavya Member since 2011 5 posts
Coforge DPA
Posted: October 1, 2018
Last activity: October 15, 2018
Posted: 1 Oct 2018 5:06 EDT
Last activity: 15 Oct 2018 12:48 EDT

Suppress properties in Json String

Hi All

For one of the requirements I need to send the case data to an external service as JSON String.

I am converting the whole pyWorkPage to a JSON string using below code. The conversion happens when the case is resolved.


PublicAPI tools = (PegaAPI) ThreadContainer.get().getPublicAPI();

ClipboardPage stepPage = tools.getStepPage();

retValue = stepPage.getJSON(false);


The above code works well and returns the JSON string. Now I want to remove few Pega OOTB (Some px,py,pz properties) properties from the JSON before sending it to service.

Is there anything which Pega provides OOTB or we need to write a custom code?

I am using Pega 7.4 version.



Pega Platform Data Integration Java and Activities
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.