VADDEMPS Member since 2013 2 posts
Posted: 10 months ago
Last activity: 10 months ago

Issue in setting null value in JSON request from Pega

Hi All - We have a requirement to send property value as null (object) in JSON request(to Connect-REST) when user empty the value for a property on the screen. These properties on the screen are defined with different data types (Text, Date, Integer). We didn't find any option in Pega to set value as null(without quotes) when property value is blank. When we tried to set the value as null(without quotes) explicitly for text properties, Pega is appending quotes ("null") for text properties.

Actual: majorProductsAndServices":"null"

Desired: majorProductsAndServices":null

Please suggest how do we achieve this in Pega.

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

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