Question

Sytel Reply
IT
Last activity: 8 Aug 2025 5:33 EDT
Is it possible to pass value null in JSON request?
Hi, I've a question. I've a Data transform that set values in a Page. And this Page is passed to a Data_Page that invoke an external service rest, using the page as Request. Now, for some reason, I need to pass a null value. Let's give an example of what I expect:
{
"var1":"value1",
"var2":"value2",
"var3": null
}
How can I accomplish this? I'd like to understand if Pega provides a method, a value or anyhting else, to set the value of a property to null, or to a value that the Invoke rule would translate into null value. Best regards