Question

1
Replies
370
Views
Close popover
Siva Rama Krishna Vaddempudi (VADDEMPS)
CIBC

CIBC
CA
VADDEMPS Member since 2013 2 posts
CIBC
Posted: December 16, 2019
Last activity: December 31, 2019
Closed

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 Support Case Exists
Moderation Team has archived post,
Close popover 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.