0% found this document useful (0 votes)
20 views

Data Import Set

The document describes the steps to import data into ServiceNow using an import set. The steps are: 1) load data into a staging table, 2) create a transform map to move data from the staging table to the target table, and 3) run the transform. The example shows loading data from an Excel file into the CMDB using fields mapped between the import set and target table. It is best to test the import in a development instance before running in production.

Uploaded by

MD MUSTAKIM
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Data Import Set

The document describes the steps to import data into ServiceNow using an import set. The steps are: 1) load data into a staging table, 2) create a transform map to move data from the staging table to the target table, and 3) run the transform. The example shows loading data from an Excel file into the CMDB using fields mapped between the import set and target table. It is best to test the import in a development instance before running in production.

Uploaded by

MD MUSTAKIM
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

11/24/22, 7:05 AM Data Import Set

SERVICENOW BUDDIES

November 15, 2020

DATA IMPORT SET



 

Data Import Process


Data is not imported directly from a Data Source into the target table. The steps are:
Load Data into a staging table
Create Transform Map
Run Transform to move data from the staging table to the target table

Check data integrity


Use Studio to create Data Sources. All other data import operations are done in the main ServiceNow
browser window and are not captured as part of a scoped application.

EXAMPLE IMPORT
STEP 1: CREATE EXCEL FILE
Here is an example excel file.  You can import any number of columns and types.

Class | Asset tag | Serial number | Manufacturer | Model ID    | Assigned to


cmdb_ci_computer | P1000241  | 56WHL71 | Gateway      | Gateway DX Series        | Carol Coughlin
cmdb_ci_computer | P1000640  | FVG-200-L80989-GT | Apple        | Apple MacBook Air 13"    | Florine
Willardson
cmdb_ci_computer | P1000512  | KIE-450-K88260-FO | Apple        | Apple MacBook Pro 15"    | Mellissa Sule
cmdb_ci_computer | P1000479  | BQP-854-D33246-GH | Apple        | Apple MacBook Pro 15"    | Miranda
Hammitt
cmdb_ci_computer | P1000249  | RSB-980-E66113-CM | Dell Inc.    | Dell Inc. PowerEdge T610 | Genevieve
Kekiwi
cmdb_ci_computer | P1000251  | KWF-742-G95931-TF | Dell Inc.    | Dell Inc. PowerEdge T610 | Emilia
Oxley
cmdb_ci_computer | P1000250  | FBJ-435-J27123-DL | Dell Inc.    | Dell Inc. PowerEdge T610 | Freida
Michelfelder
cmdb_ci_computer | P1000252  | QVQ-746-C74363-IT | Dell Inc.    | Dell Inc. PowerEdge T610 | Darrell
Amrich

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 1/6
11/24/22, 7:05 AM Data Import Set

cmdb_ci_computer | P1000471  | ERU-672-W29354-HW | IBM          | IBM Thinkpad T20    | Roger Seid


cmdb_ci_computer | P1000454  | GOU-623-U55281-RH | IBM          | IBM Thinkpad T20    | Suzette
Devaughan
cmdb_ci_computer | P1000467  | OGT-690-V53734-CD | IBM          | IBM Thinkpad T20    | Tyree Courrege
cmdb_ci_computer | P1000465  | LSD-159-C38065-XA | IBM          | IBM Thinkpad T20    | Tammie
Schwartzwalde

STEP 2: LOAD DATA


1. Login as an administrator
2. Left Navigator Bar > System Import Sets > Load Data

Create Table

Import Set Table: CMDB Data Upload [u_cmdb_data_load]

Source of the import: File

File: Select your spreadsheet

Sheet number: 1

Header row: 1

3. Click Submit
4. After Import Set Table is created, Click Create Transform Map link.

STEP 3: TRANSFORM MAP


TRANSFORM MAP
1. Fill in fields

Name: CMDB Data Load

Source Table: Configuration Item [cmdb_ci]

Target Table: Incident

Run Business Rules: true

Run Script: true

Enforce Mandatory fields: No

Copy empty fields: true (You can also put false if you don’t want to blank out fields)

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 2/6
11/24/22, 7:05 AM Data Import Set

2. Click Save

FIELD MAPS
The field maps map the fields from the import set to the target table.  In this example, 

Source | Target | Coalesce | Choice action


u_model_id | model_id | false | ignore
u_serial_number | serial_number | true | ignore
u_manufacturer | manufacturer | false | ignore
u_asset_tag | asset_tag | false | ignore
u_class | sys_class_name | false | ignore
u_assigned_to | assigned_to | false | ignore

COALEASE METHODS
If you are just inserting records and not concerned with matching to existing record, no coalease (match) is
needed.  

However if you can set the coalease to match in the field map on a certain field if you want as well.  A
common field for matching for configuration items is serial number.

If you need something more complex, here is an article that can help:

Advanced Coalease Methods

TRANSFORM SCRIPTS
Often data isn’t perfect.  You may need to write a transform script to manipulate certain data.  A common
thing to do is write a transform script for a reference field to find a sys_id.

Here is an article on how to write transform scripts if needed:

Transform Scripts

STEP 4: TRANSFORM!
After your Import Set, Transform Map, and Transform Script are ready. Transform the Import Set you
created.

It is import to note, if there are certain emails you don’t want sent, you can disable them during the
transform process as well.

Important Note: It is best practice to run the import in a development instance first to see if you have any
errors or mistakes.  It can be difficult to remove a mistake in data after it is within production.

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 3/6
11/24/22, 7:05 AM Data Import Set

After you import the data, there is a Related link to Transform.

STEP 5: REVIEW RESULTS


You can view the import set to see what data was processed or if there are errors.

Running an import in development allows you to test multiple times until it is correct.  Taking a small sample
size first also helps.  

Share

Labels:
Data Import Set

COMMENTS

Lavanya March 5, 2022 at 6:16 PM

Thank you for sharing wonderful information with us to get some idea about that
content.

Learn ServiceNow Online

ServiceNow Developer Online Training


REPLY

Enter Comment

POPULAR POSTS

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 4/6
11/24/22, 7:05 AM Data Import Set

November 22, 2020

PASSING VALUE FROM FORM TO UI PAGE THROUGH UI ACTION


Share
7 comments

November 22, 2020

UI PAGES
Share
4 comments

Powered by Blogger

ServiceNow Buddies
VISIT PROFILE

Archive

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 5/6
11/24/22, 7:05 AM Data Import Set

Labels

Report Abuse

https://servicenowbuddies.blogspot.com/2020/11/data-import-set.html 6/6

You might also like