how to omit (" , ' ) and other punctuations from blocking the transmission in integration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 02:15 AM
Hi,
I am using post rest message to transmit data from servicenow to another tool.
example, if we have an incident where the short description or description has any punctuation like single quotes or double quotes, the data is being blocked from transmission.
Please help me with possible solution of transmitting the data successfully even when the single/double quotes and other punctuations are used. maybe something like ignoring those punctuations while transmitting or any other better options for transmitting the data with those punctuations.
Thanks,
Sharley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2025 02:19 AM
you should use setStringParameterNoEscape() in your REST Message script
setStringParameterNoEscape() -> allows entering special character and in case you want to send that special character as it is without escaping
share your script here as well.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader