- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 04:56 AM
Hi Members,
I am getting the "undefined" values from the Query Parameter of the REST Outbound message (refer the screenshot). But when the Parameter values are passed from the Endpoint then they are received properly e.g. https://<instanceid>service-now.com/api/918167/incident/create_incident?correlationid=${corrid}&shortdescription='${shortdesc}'.
Please suggest.
Release: Xanadu
The Scripted REST API is: -
Query Parameter of the REST Outbound Message POST: -
Logs: -
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2025 10:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2025 09:21 AM - edited 02-09-2025 09:22 AM
@Natan F Rosa Actually, the parameters I am passing were not Query Parameters instead the Body content. Hence, the Request in the Scripted REST API will be: -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2025 04:15 PM
Hi @NehaSNOW ,
Sharing with you the integration best practices, giving you the ability to implement a reliable, scalable and fully functional REST-API calls using object oriented programming, SOLID priniciples, Service Oriented Architecture, Dependency Injection and the use of Circuit Breaker Pattern.
Dynamic Script Include and GlideAjax in ServiceNow: Scalable & Reusable Code for Architects
How to Call Third Party REST API Integrations in ServiceNow Using GlideAjax & Script Includes
Establish Reliability with ServiceNow API Integrations Using the Circuit Breaker Pattern