ServiceNow to ServiceNow Rest Integration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 12:06 AM
Hi,
I am creating the ticket in Instance A and ticket is created in Instance B also, but my question is some times description field is appear like "undefined" when we pass the huge description. Could anyone help me why this error coming only when sending the huge description?
Thanks,
Manju

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 04:48 AM
In this case remove only line 6 in your original Business rule shared in this post and replace with the below lines.
var requestBody = {
"desc":current.description.toString()
};
request.setRequestBody(JSON.stringify(requestBody));
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 11:39 PM
No, Still it's not working
Thanks,
Manju