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-25-2023 05:08 AM
Hi,
I have shared business rule code screenshot. please let me know where am I wrong.
Thanks,
Manju

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 05:26 AM
Remove Line 6 & 7. Add below lines:
var requestBody = {
'desc':current.description,
'data':current.u_client_
};
request.setRequestBody(JSON.stringify(requestBody));
Make the following changes:
1) Replace current.u_client_ with the actual field name
2) Update desc and data in the JSON with actual attribute of RestMessage JSON content
2) Add additional attributes to the JSON content based on
actual attribute of RestMessage JSON content
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 05:57 AM
I have tried what you have given the above steps but it's not working.
Thanks,
Manju

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 01:36 AM
Can you share the Content used in Rest Message -> HTTP Method entry
Palani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2023 02:11 AM
I have shared HTTP method screenshot below.
Thanks,
Manju