Importing data from csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 01:29 PM
I have this use case where I need to import some data into servicenow. This dataset is used to assign Ids to employees based on their location. A particular location can have ids ranging from 1-9 and A-Z and there are say 15 such locations. Some of these ids are already assigned and others are available. I have imported this data using a csv file, the snippet of which is attached. Now in servicenow, when I assign one of the available ids, using a lookup reference to this table, all of the available ids for that particular location get assigned to the employee and multiple copies of the same record get created - each with a different id.
Can someone explain why this must be happening and What is the solution?
 
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 08:47 PM
Hi @Kairavi Bajaj ,
It depends on how you are running the transform maps.
Can you share how you have setup the transform maps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-12-2025 09:22 PM
Please share how your transform map, field maps are configured
which field is used for coalesce?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2025 08:03 AM
The transform map is a direct mapping of the fields, no script involved. No coalesce as well because values in each column have duplicates - the location, location code as well as the operator id.