Import Data into ServiceNow

tindiz
Giga Guru

I want to Import Data into ServiceNow using excel file.

What should I put on the excel file on the vendor field so when I import it into Service Now it will come up as checked?

 

tinadizon_0-1708153439461.png

 

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron
Tera Patron

Put True as the value in the Vendor column in the excel sheet.

 

https://youtu.be/otIhgOrwvKE

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

ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality is not allowed! ...
3 REPLIES 3

Aman Kumar S
Kilo Patron

Hi @tindiz 

If you are using import set and transform maps, you can simply create a field map between source and target field and use script in the field map: Assuming you are passing yes and no in the excel

if (source.your_field_name == 'yes') {

answer = true;

else {

answer = false;

}

Best Regards
Aman Kumar

So in the excel file I should put it like this -

 

tinadizon_0-1708154296511.png

 

And then the script should be like this -

 

if (source.vendor == 'yes') {

answer = true;

else {

answer = false;

}

Dr Atul G- LNG
Tera Patron
Tera Patron

Put True as the value in the Vendor column in the excel sheet.

 

https://youtu.be/otIhgOrwvKE

*************************************************************************************************************
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]

****************************************************************************************************************
ServiceNow #TechnoFuncational Disclaimer: These videos are from my training batch. These videos did not promote any ServiceNow Sales pitch or marketing. These videos are only for knowledge purposes & basic on my experience & Knowledge. Redistribution or copying of functionality is not allowed! ...