Question
CIBC
CA
Last activity: 31 Dec 2019 15:31 EST
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****