We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

importing data from csv file, problem when lots of columns are empty

Nesrine1
Tera Expert

Hello everyone,

 

I m importing data from a csv file, i got lots of errors and when I invistigate I found that the problem is when there is many columns which are empty, I made the screen under to illustrate what I am talking about

 

Nesrine1_0-1694522167059.png

Is there any solutions to this, do you thing it is something else the problem.

 

This is the recap of the import set

Nesrine1_1-1694522329188.png

 

and i got 290 errors which are all like the line i screened above

 

Thank you for your help

 

Regards,

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @Nesrine1 

 

Greetings!!

 

The error is due to transform map. You need to update your transform map to accept empty field ,also please check the errors in attached screen shot . Why this record is not store. May be colsec issue.

 

Open this record and check. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @Nesrine1 

 

Greetings!!

 

The error is due to transform map. You need to update your transform map to accept empty field ,also please check the errors in attached screen shot . Why this record is not store. May be colsec issue.

 

Open this record and check. 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Thank you for your response

 

I reviewed the coalesce operation, and I identified that the issue was caused by leading zeros in the field, which were being removed

 

Regards