Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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
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. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

View solution in original post

2 REPLIES 2

Dr Atul G- LNG
Tera Patron
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. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ 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