Dynamic Endpoint Configuration for Multi-Customer Integration in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2024 06:45 AM - edited ‎08-18-2024 06:49 AM
Hello Experts,
I need assistance with making an endpoint dynamic. We have an integration setup between multiple customers and ServiceNow, and the number of customers could be in the hundreds. Each customer sends JSON data to ServiceNow in the same format. Upon receiving the JSON, ServiceNow logs the request in a custom table and sends an acknowledgement response, which is also a JSON containing the record information, including the unique ID.
We have created a REST message that includes both GET and POST methods. Our goal is to make the endpoint in the POST method dynamic. Example, if the fifth customer sends JSON to ServiceNow, the acknowledgement should be sent back only to that fifth customer and not to any other customer. How can we achieve this dynamic endpoint creation?
Thanks, Manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-18-2024 07:20 AM
The most important in this process is to track each customer in an only record or a task record.
The best way to do this is to create a Flow Designer to run when a custom table record is created and calls the integration from IntegrationHub using UniqueID as a parameter, like this:
If my answer helped you in any way, please mark it as correct/helpful 🙂
Regards,
Isaac Vicentini.
MVP 2025 ✨
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2024 01:51 AM
Hello @Isaac Vicentini
Actually the Integration is in between three layers.
1 2 3
Aurora - ServiceNow - (Multiple Customer)
When one of the multiple Customers send JSON to ServiceNow, ServiceNow logs the ticket → send the Updated JSON consisting of ServiceNow sys_id to Aurora → Aurora logs the ticket →Aurora sends back the JSON with Aurora Fields and unique ID → Updates in ServiceNow → ServiceNow sends back to customer.
We have created a Script include which has all the logics and through script include we execute the different REST message, which will contain the endpoint, thus we need to make the endpoint dynamic. I don't think it will be possible to use the flow designer. Please advice.