Hi Jyoti,
The newline character (hex 0D) needs to be replaced with the characters \n. In GatewayScript, use
let jsonValueString = JSON.stringify(textValueString);
which should do the escaping for you.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------