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

Import a text file from Mid server location into ServiceNow

Sajan3
Tera Contributor

Hi all,

I am working on a requirement where a fixed length text file needs to be imported from a folder on the mid server location into ServiceNow. I have tried replicating the same in a personal instance by installing a mid server on my local machine. Though giving the correct credentials, hostname/server name and the filepath, i am getting an ftp error 530: which happens when the authentication fails. 

find_real_file.png

find_real_file.png

Also, i wanted to get some help on the other possible approaches to implement this requirement. I am currently looking for implementing the same using javaScriptProbe; but could not clearly understand how to fetch the file from the midserver.

Any help is greatly appreciated!

Thanks,

Sajan

2 REPLIES 2

p_espinar
Kilo Guru

Hi Sajan,

currently there is no OOTB way to perform what you say. You need, either a FTP server, or alternatively, if you want to transfer files from a folder of the mid server, you can use the SN Guru utility:

Scheduled File Import via Mid Server

Un saludo,
Pablo Espinar
Consultant at Econocom Spain

Please mark this response correct if I've answered your question. Thanks!

sachin_namjoshi
Kilo Patron
Kilo Patron

Please check below for solution to import file from mid server to SN instance.

https://community.servicenow.com/community?id=community_question&sys_id=b84f4290db7a17001cd8a345ca96196a

 

Regards,

Sachin