- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2020 09:24 AM
Hi All,
My request and response body is getting truncated in the log statement. I changed the field dictionary size to 4000 and also updated system property for logs but still its showing only 1000.
Even I tried to display it in alert statement getting only 1000 characters - s.getRequestBody()
Any idea how can I get request body and store it in custom table ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-27-2020 09:03 AM
yes that's correct the max value is 1000
You can create custom table and custom field of larger length and directly store the value of s.getRequestBody() directly into that field
Note: custom table will have cost implication as per your ServiceNow subscription
refer below link for help as well
OUTBOUND WEB SERVICES LOGGING IN DETAIL
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-24-2024 09:32 AM
Hi, did you ever implement this custom table if so did it work?