- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 06:40 AM
In ServiceNow, i'm aware i can send outbound REST request via a MID Server to resources within my local network.
Is it possible to receive REST messages from local resources to my mid server, rather than pointing the endpoint directly to the instance staging table or scripted endpoint. If yes, how is that achievable, how do i define the mid server endpoint, and how do i process the message once it gets to the instance.
Thanks.
Solved! Go to Solution.
- Labels:
-
Event Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 06:55 AM
Hi Abbey
I'm afraid MID servers cannot be used for incoming requests. But inbound requests from a third-party tool would be secure because they are connected to the ServiceNow instance via SSL.
A MID server is typically used for communication with the customer's infrastructure (outbound), which the ServiceNow instance cannot access directly.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 06:56 AM
Hi Abbey,
I'm not seeing any docs where the MID is used for inbound REST. Everything I've read and done, the REST call goes directly to the ServiceNow instance.
If you must use the MID, REST may not work, as the ECC queue is a pass through, not a direct end point. A possible alternative (however clunky), is that the MID Server to other resources on your internal network is simply another server. If those servers want to access it, you can work with your server sys admins to set up file sharing. The external entity could post files to the file share, and a scheduled job on your instance can pick it up and process it.
One possible path is external entity exports and posts a csv file. ServiceNow scheduled job, picks up the file and runs through transform map.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 07:41 AM
Thanks Stephen, thats what i've also gathered so far.
If i have an event being published from Dmaap, it should be able to reach the instance directly.
In what cases can the ecc queue be used to collect events for the instance outside of discovery/orchestration initiated from the instance? Would that be only through eventcollection plugin?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 08:29 AM
Hi Abbey,
You can create a custom javascript probe to do this. It's not simple though. At one point, Crossfuze had an app that did this, but I'm not sure if they're still publishing it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2021 08:28 AM
For Event Management you can use a MID server to receive events.
Configure a MID Server for event collection using a push operation (listener)
Steve

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2021 11:47 AM
Hi Guys,
Interesting post and i think we did something around this where we use to store the xml events on MID server folder and then using schedule import we use to import those events into servicenow and then process those every 5 mins.
Let me know if you need more details.
Thanks,
Ashutosh