Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Send Line break in description field via json

Cindy Sim
Tera Expert

I have SNOW to SNOW integration. I am creating incident from a record producer. Everything else is working except I am sending variables to description field in incidents. I am not able to send line breaks after each variable. I tried \n and also using<br>. It's not creating line break. Could anyone suggest how to achieve send  linebreaks from JSON payload?

5 REPLIES 5

Maybe you'll need to handle the line breaks on the receiving side. Use a specific character (\n could work) and then break it when you receive the JSON