Sunday, June 28, 2026

QA testing of ServiceNow Data Sources, Import Sets and Transform Maps

QA testing of ServiceNow Data Sources, Import Sets and Transform Maps

Data Sources in ServiceNow are used to create an intermediate import set. Import set table data is then mapped to a production table via a Transform Map. Import set data can be inspected and manipulated before that mapping runs, which is exactly what makes it useful for testing.

Data for a Data Source can come from four places: a recognized file format (CSV, Excel, XML, JSON), an external database via JDBC, an LDAP server, or an HTTP-based source — which covers REST and SOAP web services.

Why This Trips Up QA Testers

Since the import set table acts as a staging area for records pulled in from a Data Source, that staged data can be manipulated for testing before it gets pushed into the production table through the Transform Map's field mappings. To a ServiceNow developer, this is familiar territory. QA testers, especially those newer to the platform, often find it harder than it should be — usually for one of three reasons:

  • Import sets can have thousands of rows, and running the full set can take a long time just to get to the scenario they actually want to test.
  • Testing multiple scenarios means running the Data Source multiple times, which adds up to a lot of hours if every run processes the full dataset. Developers tend to know shortcuts for running and testing just the rows that matter; testers often don't.
  • Some of the steps require elevated permissions — testers without those roles end up relying on a developer or admin to run the steps for them rather than doing it independently.

The steps below are aimed at closing that gap, so QA testers can run these tests independently rather than routing every test cycle through a developer.

Step-by-Step: Isolating Rows for Testing

  1. Note down details — reports or screenshots — of the table or form involved in the Data Source testing, so you have a baseline to compare against after the transform runs.
  2. Open the Data Source record and select Load All Records (in Related Links) to run it and load all data rows.
  3. If the Data Source involves a large amount of data, this takes some time to process. Once State shows Complete and Completion Code shows Success, go to Import Sets and note the Import Set number.
  4. Identify the specific rows from the Import Set you actually need for your test scenario.
  5. Once you know which rows you need, delete the rest using Scripts – Background.

Note on permissions: running Background Scripts requires at minimum the admin role on most instances. Some organizations additionally require security_admin elevation as an extra safeguard for scripts that delete data, even staging data — check your instance's specific configuration, since this can vary by organization rather than being a fixed platform requirement.

For example, say the Data Source name is "Test Import Assets", the Import Set table name is "u_test_import_assets", and the Import Set number is "ISET1234567":

var gr = new GlideRecord('u_test_import_assets'); //Import Set table name
gr.addQuery('sys_import_set.number', 'ISET0017093'); //Import Set number
gr.addQuery('sys_import_state', 'pending');
//Delete Import Set table rows except row numbers 944, 5612, 8881
gr.addQuery('sys_import_row', 'NOT IN', '944,5612,8881');
gr.deleteMultiple();
  1. With unwanted rows deleted from the Import Set table, run the Transform Map for that Import Set to complete the data update in the production table — now against only the rows you actually want to test.
  2. Import set row data can be changed or manipulated directly to perform positive or negative testing, depending on the scenario.
  3. With this approach, testing runs against a small, deliberate set of rows, so QA testers can run multiple test cycles quickly instead of waiting on a full-dataset run every time.

One More Thing Worth Knowing

Import set staging tables aren't meant to hold data indefinitely — ServiceNow runs a scheduled cleanup job (commonly referred to as the Import Set Deleter) that removes import set records older than 7 days by default, along with their associated staging rows and transform history. This is generally invisible during normal testing, but it's worth knowing if you're revisiting an import set from a previous test cycle and can't find it anymore — it may simply have aged out rather than something being wrong with your test setup.

25 comments:

  1. Service Now | 21st Century Software Solutions
    www.21cssindia.com/servicenow
    Introduction to Service Now. Introduction to service now instances & Process; b) SNC Navigations; c) SNC Applications and Modules; d) Forms,Lists and Tables ...

    Training is an costly Affair …….But what if it is done Online at the convenience of the Trainer & the Trainee sitting in any part of the World……….

    Thats what 21cssindia Makes Possible.
    . send ur enquiry to contact@21cssindia.com. or Call +917386622889

    ReplyDelete
    Replies
    1. This article on QA testing of ServiceNow data sources provides valuable insights into validating enterprise workflows, data integration, and system reliability in modern business platforms. Proper testing and verification processes are essential for maintaining accurate data synchronization and ensuring stable application performance in enterprise environments. Students interested in similar implementation concepts can also explore Web Development Projects to understand how enterprise applications and backend systems are developed and managed.

      Delete
    2. Testing and quality assurance continue to play a major role in cloud platforms and enterprise software systems where secure and accurate data handling is critical for operational success. Learners looking to build scalable and reliable software solutions can further refer to Cloud Computing Projects for ideas related to distributed systems, cloud integration, and enterprise-level deployment workflows. This post provides a practical understanding of testing strategies in ServiceNow environments.

      Delete
  2. Thank you for the course content On Servicenow Administration Online Training it will be Most usefull for Beginners

    ReplyDelete
  3. ServiceNow - Layman Learning
    laymanlearning.com/servicenow
    ServiceNow Training Courses: ServiceNow Accredited Administration Training ITIL® Accredited Training & Certification ITSM (Apollo) Simulation ISO20000 COBIT Six ..
    Support; Query? +91-741-626-7887 ... Online Corporate IT training services. OnlineTraining | Corporate Training | Layman Learning. Email: hr@laymanlearning.com.

    ReplyDelete
  4. ServiceNow System Admin Course covers all the servicenowadministration trainingbasics. It is led by a certified ServiceNow trainer and focuses on real-life scenarios and hands-on designed to give you usable knowledge that will help you optimize your ITSM platformKBS Training Institute is the Best Training Institute across the world like USA, UK, FRANCE, UAE, Japan, Germany, Newzeland, Australia, Singapore, Malaysia

    ReplyDelete
  5. Really cool post, highly informative and professionally written and I am glad to be a visitor of this perfect blog, thank you for this rare info! , Regards, servicenow training in hyderabad

    ReplyDelete
  6. Thanks for the post, for online training on ServiceNow visit TekSlate.

    ReplyDelete
  7. Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating servicenow online training

    ReplyDelete
  8. This really is my first time i visit here. I discovered so many entertaining stuff in your blog, especially its discussion. From a great deal of comments in your articles, I guess I am not alone having all of the leisure here! Maintain the superb work.It is very useful who is looking for top software testing companies

    ReplyDelete
  9. These ways are very simple and very much useful about Software Testing Services I like your good service. I always appreciate your post. That is very interesting I love reading about Software Testing Companies and as a beginner level these helped me a lot thanks fore sharing these kinds of useful and knowledgeable information.

    Consult today to - Software Testing Companies in USA

    See Also: Test Automation Services

    ReplyDelete
  10. An awesome blog for the freshers. Thanks for posting this information.
    ServiceNow now Learning
    ServiceNow Online Training

    ReplyDelete
  11. nice information thanks for sharing..........................!
    micro strategy certification training

    ReplyDelete
  12. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting
    lists will help to my website
    ServiceNow online training
    best ServiceNow online training
    top ServiceNow online training

    ReplyDelete
  13. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    Tableau online training
    best Tableau online training
    top Tableau online training

    ReplyDelete
  14. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    mulesoft online training
    best mulesoft online training
    top mulesoft online training

    ReplyDelete
  15. Recently I read your post, and I just fell in love with your wiring.
    Hire Angular Developer in Chennai

    ReplyDelete
  16. Great article! The MongoDB course is very useful for learning NoSQL database concepts and practical implementation. The hands-on labs help in understanding real-world data management and application development.mongodb course

    ReplyDelete