- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:16 AM
Hi Team,
I am doing import to the custom table and I am trying to coalesce multiple fields during import. I want to update every record where this field matches. Import seems to update the first matching record but not the old records if the same coalesce value matches. In my source table data is coming through schedule job which get data from REST end point...so the source data keep updating every time this schedule run.
Attaching screenshot for your reference..
I have put coalesce on Application, DB Name, Environment and role. Kindly help me to fix this issue and share your thoughts.
Solved! Go to Solution.
- Labels:
-
Incident Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 02:12 AM
Divide the older data in chunks of 10k each
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:30 AM
Hi,
If there is a change in the import record, only then the records will update. if no change in your source record, then update will not happen.
Mark the comment as a correct answer and helfpul if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:37 AM
Thanks for your response..
I understand Coalesce identify unique records but how can I update the old records which was already present in the custom table before the import. I cannot clean-up those records manually as it will cause data loss on existing tickets with these record values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:47 AM
Hi
1.) Take the export of old records from the list view and update them in excel
2.) Import the exported excel with old records updated values
3.) Once you apply the coalesce in the transform map, then import the file from point 2 and run the map old record values will be updated in table
This is the approach to update the existing records in the table.
Please mark my answer as helpful/correct, if applicable.
Best Regards,
Sai Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 01:46 AM
Hi,
It is in large number. Custom table has 28k old records. If I export it in excel form it is not downloading all the records.