The CreatorCon Call for Content is officially open! Get started here.

records not getting inserted in Data import

mp_10
Tera Contributor

@Ankur Bawiskar 

Hi Ankur,

Please guide me on the below query. I am trying to import csv file using Catalog item by following the blog you have created. Somehow the data is not getting inserted. Attaching the screenshot for your reference. Could you please guide me on this.

 

sm10_0-1680522106925.png

 

1 ACCEPTED SOLUTION

@mp_10 

are you sure the file is getting copied to that data source.

All steps are explained in detail in that blog

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

@Ankur Bawiskar .. Thank you for the assistance, I found the error. I have created a new variable for attachment and was trying to upload from there, instead of using the header attachment. 

Appreciate the time and effort you are giving to all of us. It means a lot for beginners like me.. 🙂

@mp_10 

Glad to know.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

mp_10
Tera Contributor

Hi @Ankur Bawiskar ,

I am facing an issue again. The uploaded files are not being deleted from the data source when the import process fails. This results in multiple files getting appended to the data source, leading to import issues. I am wondering if there's a way to automatically delete the attachment from the datasource after the import process, regardless of whether it succeeds or fails.