- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 05:33 PM
I've set up a data source that is pulling a csv file via an ftp source but whenever I attempt to test load 20 records, it creates inserts as opposed to updating the records that currently exist in the database. Currently I am coalescing on the serial number of the record, is there any other way I can ensure that records are updated as opposed to created?
Solved! Go to Solution.
- Labels:
-
Best Practices
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:18 PM
Hi Joseph,
If you are giving serial number as coalesce then if it finds that value in target table it would update; if not found then it would create.
Did you check those 20 serial numbers are already present in the target table?
Also check any spaces before or after the serial number is causing the import row to insert rather than updating
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
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
‎06-09-2019 09:18 PM
Hi Joseph,
If you are giving serial number as coalesce then if it finds that value in target table it would update; if not found then it would create.
Did you check those 20 serial numbers are already present in the target table?
Also check any spaces before or after the serial number is causing the import row to insert rather than updating
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
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
‎06-10-2019 05:54 AM
Yes I did check and the serial numbers already exist, and no spaces existed in the serial numbers that I found. Would it help to coalesce on multiple values?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2019 09:57 PM
Hi,
Have a look on below service now thread, this will help you.
Mark Correct/Helpful, if this helps you.
Regards,
Devyani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2019 06:06 AM
Hi,
If the answer resolve your query, please mark the answer correct, so that it get removed from unanswered category.
Regards,
Devyani