swamulub3797 Member since 2020 1 post
Rabobank Group
Posted: 3 months ago
Last activity: 1 month 3 weeks ago

decimal property initialising 0 value

We are integrating with other system using rest connector, and receiving large json response. Some of  the property values are not present in the response and while mapping if there is no property present in the response and if I map that pega  decimal datatype properties initialising default value with 0.  



CalculatedValue is property and defined as decimal datatype

Sample Json Response: 

[{              "ReasonTypeCode": "ABC"  }]

Data transform mapping:


pyWorkpage.ReasonType =Datapage.pxresults(1).ReasonTypeCode

pyWorkpage.CalculatedValue =  Datapage.pxresults(1).CalculatedValue


I can check(when) value is there or not before mapping, but my response contains more than hundred properties.


***Edited by Moderator: Pallavi to change content type from Discussion to Question***  

Pega Platform Data Integration Java and Activities Financial Services System Architect
Share this page LinkedIn