Lessons › Domain 5: Database Management and Platform Security (30%) › Lesson 23
Importing Data
About 15 minutes · Last checked against the CSA blueprint (January 2026): 3 December 2026
Step 1 · Learn
Bringing data into the platform
Organisations often need to load data from elsewhere, such as a list of users from a spreadsheet or locations from another system. The platform uses import sets for this.
The import process
- Create or choose a data source that describes where the data comes from: a file such as CSV or Excel, a database connection (JDBC), or another system.
- Load the data into an import set table, a staging table that holds the raw imported rows.
- Create a transform map that defines how fields in the import set table map to fields in the target table, such as the User table.
- Run the transform, which writes the data from the staging table into the target table.
- Review the results and any errors in the import log.
Coalesce
Coalesce decides whether an imported row updates an existing record or creates a new one. You mark one or more field maps as coalesce fields, such as Email for users.
- If an existing record has the same value in the coalesce field, it is updated.
- If no record matches, a new record is inserted.
- If no field is set to coalesce, every row creates a new record, which can cause duplicates.
Transform scripts
When the data needs changing during the import, for example combining a first and last name, transform scripts can run at set moments, such as before each row is transformed.
Step 2 · Do
Import new users from HR
HR sends a weekly spreadsheet of staff. Import it so existing users are updated and new ones are added. This is a practice environment of our own design, not the ServiceNow product. Complete the tasks in the task list.
Step 3 · Check
Exam-style questions
Select an answer and check it. Every answer includes an explanation.