Support Article

Requirement to set a string value to null



Requirement is to set a string value to null while calling a request connector. Function returns null if the entered parameter is empty. However, the property is set to “” and not null.

Error Messages

Not Applicable

Steps to Reproduce

  1. Send null to a text typed property while not providing a value to the data transform
  2. Verify the sent request message. The value is sent as an empty string ("")

Root Cause

Here’s the explanation for the reported behavior. Returning an empty string instead of null is the default Clipboard behaviour and modifying it causes issues.


Perform the following local-change without using the Clipboard and populating the JSON request: 
  1. Provide Map from Clipboard and Map from key as .pyJsonData on the Request tab
  2. Populate .pyJsonData with JSON request before invoking the Connect-REST in an activity




Published August 19, 2019 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.