OBLYTECH Logo
OBLYTECH Logo

ServiceNow Import Set Data Sources: CSV, XML, JDBC and REST

A ServiceNow data import takes its rows from import set data sources, the places an import set reads from: uploaded files in CSV, Excel or XML format, external databases reached over JDBC, and web services called over REST. Each source fills an import set table first, and a transform map then moves those rows into the target table. Other source types, such as LDAP and OIDC, are also available, so check the data source options on your own instance before you plan the load. For the wider picture, read the plain-language guide to ServiceNow data migration.

The location of the source data decides which data source type fits

Many migrations start with a spreadsheet, and that is often the right first step. The question to settle early is whether the data loads once or has to stay in step with a system that keeps changing. A one-time load from an export needs little more than an upload. A feed that refreshes every night needs credentials, a schedule and a plan for failed runs. Also confirm which system is the source of truth, because that answer tells you which copy the import should trust. The data governance and source authority question is worth answering before you pick a type.

The three main types differ mostly in setup effort and in how the data reaches the platform.

Source How rows arrive What you set up Pick it when
File upload (CSV, Excel, XML) Uploaded once or occasionally, then loaded into the staging table Column mapping in a transform map The data comes from a spreadsheet or an export
JDBC A query runs against an external database Connection, credentials with limited rights, the query, and either a VPN path or a MID Server if the database is on a private network The source of truth is a database you can query
REST HTTP calls to a web service A published Integration Hub request action that fetches the data, plus pagination settings on the data source record The remote system exposes an API and its data changes often

File uploads suit one-time loads from a spreadsheet or export

You upload a CSV, Excel or XML file, and the platform parses it into the staging table, where each column header becomes a field you can map. The usual trouble is a header that does not match what the transform map expects, or a date the platform reads differently from the way it looks in your sheet. Test on a small sample before you load the full file. Spreadsheets also carry hidden problems such as merged cells, mixed date types and leading zeros that vanish on save. Clean those in the source file, not after the load.

JDBC connections need a network path and limited database rights

A JDBC source reads tables or a query result straight from an external database. You define the connection, the credentials and what to read, then run a test pull. When the database sits on a private network, the connection needs either a VPN path from the instance or a MID Server, the on-premise agent installed inside your firewall that relays traffic between the instance and your network. Give the import a database account that can read only the tables it needs. Tight access matters more when an outside team builds the feed, and the steps for keeping data secure with offshore IT teams cover that setup. Test the connection before anything is scheduled.

REST loads depend on the remote API behaving consistently

A REST source calls an HTTP endpoint and reads the response, usually JSON or XML, into the staging table. Plan for authentication, pagination and failure handling as well. If the remote system returns results one page at a time, the load has to follow every page to the end. Rate limits on the remote side can slow a large pull or cut it short. Decide in advance what happens when a pull fails halfway, because a partial load that looks complete is hard to spot later.

Scheduled runs and format limits shape how you roll out

A manual import runs when someone starts it. A scheduled import runs on a timer, so it can fail overnight with nobody watching. Test each source by hand first, then switch on the schedule and review the results of the first several runs. Compare what changed between runs rather than only whether each run reported success. Format limits matter too. Very large files may need splitting, so run a test load on a full-size file before the real one. Once the source is settled, the implementation roadmap shows where the import fits in the rest of the migration. The ServiceNow data migration and import sets section lists the other guides in this group.

Questions people ask about import set data sources

Which file formats can a ServiceNow import set load?

CSV, Excel and XML files are common uploads, and JSON is also supported. Check the data source options on your instance before you prepare a file.

Do I need a MID Server to run an import?

Not in all cases. A JDBC database on a private network needs either a VPN path or a MID Server, because the MID Server is the on-premise route into your network. Check the requirements of each source type before you assume no MID Server is needed.

Is a scheduled import the same as a manual one?

A schedule adds concerns that a manual run does not raise: failures nobody sees, credentials that must stay valid, and source changes that happen between runs. Test the import by hand first, then turn on the schedule and watch the first few runs.

How do I choose between JDBC and REST for a live feed?

Choose JDBC when the data already sits in tables you can query with a restricted account. Choose REST when the source exposes an API built for other systems to call. The deciding factors are how the owner of the source system will grant access and how well each interface handles change.

How to confirm an import set load matched its source before anyone relies on it

A load is not finished until the target table holds the records the source held, and you can show that with numbers. Compare the row count the source query returns with the count that reached the target after the transform, then review each row the import marked as errored or skipped. Matching totals alone can hide a fault, because a load that drops some rows and duplicates the same number of others produces the same count.

Fix a unique key before the first run. The source’s own identifier, such as a record number or an external ID, lets a rerun update rows that already exist rather than add copies, provided the field map Coalesce checkbox is selected for that field. Without that setting, the import treats each row as a new record, so a rerun after a partial failure can double records, and the duplicates look like valid data until someone searches for them.

After each run, record four figures together: the source count from the query used for that pull, the count that landed in the target, the number of rows that errored or were skipped, and the start and end time of the run. Take the source count from the same query as the pull, not from an export made the day before. A source that changes between runs otherwise looks like a loading fault.

Work through the check in this order:

  • Compare totals for the same date range or filter on both sides.
  • Pick a sample of records by key and check each mapped field, including dates and numbers that a spreadsheet may have altered.
  • Group the error rows by cause, then decide each group: fix the source data, fix the transform map, or accept the exclusion in writing.
  • Rerun a small batch after each fix before the full load repeats.

Reference fields need their own look. A count check does not show whether each reference points to the intended parent record, so confirm the links in the target table as well.

Name one person who signs off the reconciliation before the target table feeds other processes. The data migration and cutover work that keeps reconciliation evidence shows how that sign-off fits when the move is larger than a single feed. For a scheduled feed, the harder question is who receives the failure alert and who fixes the error, which is the subject of integration monitoring and error ownership.

Is a Jira Service Management ticket CSV enough to load into ServiceNow import sets?

No, not on its own. A Jira Service Management ticket CSV can supply the ticket rows, but it may hold attachment links instead of the files, and it does not guarantee that comments, knowledge content or related records come with it. Build a manifest that lists every entity and file you need, then extract and load each separately.

What a ticket export typically leaves out

  • Attachment files. The export records where a file lived, not the file itself. Download each binary separately and keep its link to the owning issue.
  • Issue relationships. Parent and child issues, linked issues and sub-tasks need to keep their links to the source issue. Check how each one arrived before you map it, since a flat export may not keep that structure.
  • Knowledge content. Identify the knowledge source separately from the ticket export, then extract it on its own.
  • Conversations and request detail. Conversations, request fields and related objects can require separate extraction. Confirm each one against the source before you assume it is in the file.

Build the manifest before choosing a load method

A manifest is a short list with one row for each object and each file group. It is the scope the reconciliation checks against. For each row, record the source system, the object type, the key that identifies it, the extraction method, the target table, the count at extraction and the person who signs off on it.

  1. List every object the business needs: tickets, comments, attachments, knowledge articles, users and groups.
  2. Name the extraction method for each one, such as a CSV export, a REST call or a separate knowledge export.
  3. Record counts and total attachment size on the day of extraction, so later checks compare like with like.
  4. Confirm that every child row carries the source key of its parent ticket.
  5. Load parent tickets first, then child rows, so each child can find the parent loaded before it.

Attachments need a route that keeps the file itself

A link to the old file is not the file, so move the binary content into the target instance rather than a legacy URL. As of November 2026, the Attachment API uploads one file per request, so a folder of files is a scripted job rather than a single import.

Before the run, check the size limit and permitted file extensions on the target instance. Count the files that fail either rule and record them in the manifest.

Keep the migration evidence outside the staging tables

Staging rows are working data. As of November 2026, the default cleanup job removes import sets and staging records older than seven days, so the proof of each run cannot depend on the platform keeping it. Save the source extract, the manifest, the run counts and the error rows somewhere the migration team controls, dated on the day each was taken.