Access Data outside of ServiceNow Tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 12:54 PM
Hello,
I've been asked if it's possible to access Data from external tables in our instance.
Example: We have our Club Location Data stored in a SQL database on one of our on prem Servers.
Is it possible to access that data without pulling it all in to ServiceNow? In SharePoint we build data connection and query fields.
How would this be done in ServiceNow?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 01:09 PM
Here's my recommendations in order of "best practice" and personal preference:
- Integration using a MID server where the data lives in your source system and ServiceNow
- Provide a clickable URL to the source data using a form annotation and HTML
- Not sure if this is possible, but perhaps you can figure out how to view the data with an iFrame and MID server. My gut feeling says it's not possible without a full integration (see #1 above)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 01:11 PM
I can think of 2 methods, depending on what you're trying to accomplish:
- Import Set Data Sources via MID Server
- SQL Server Web Services
Using #1, you can send a SELECT query just for the data you want and import it into ServiceNow instead of pulling all data and filtering out in ServiceNow.
Please feel free to connect, follow, mark helpful, like, endorse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 01:42 PM
I am not well spoken on MID server or web services at this time.
More of what we're trying to do...
We created an Insurance App in ServiceNow using contracts. It took a while and left a bad taste in the executives mouths. I argued that the hardest part was getting the VENDOR data in to ServiceNow and creating a nightly process to keep it synced with the source data.
If I didn't have that issue of having to duplicate data in to (that is not ever going to be moved in to ServiceNow as the source), I could produce quicker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 01:50 PM
I don't know what your data size is, but the Import Set Data Sources via MID Server could be a viable solution for a nightly sync. You can sync remote and local tables using coalesce keys. This is a common solution for what you're describing. Setting it up is quite simple; you may try connecting in Sandbox and just get SELECT count(*) FROM table to test connectivity; after that, you can try querying test data and import.
Another option, if you don't want to do nightly sync, is a real-time lookup, which may present its own technical and usability (delays) challenges.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2016 01:51 PM
Here's an app in the SNow Share that does on demand queries to an external SQL DB. It still requires the data to be stored in ServiceNow once related to a record but real-time searches retrieve data from the external database.
Query external contact database on-demand: