- 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 06:13 AM
Hi Anu,
As
Regards,
Sai Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:51 AM
What exactly you want to update in the old records? if there is any data to change or jus tthe sys_updated_on field to be changed?
If data to chang, then export the data into xls.. make changes and then import it again.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 06:41 AM
Could you let me know your requirement clearly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2021 12:52 AM
Either take the approach mentioned by Sai or you can update the from script if they are less in number
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 01:46 AM
Hi,
Do I need to write on before Transform script?