Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Transfer file to mid server

emanuelesignori
Kilo Contributor

Hi all,

how can i transfer a pdf file from servicenow instance to the mid server via script?

Thanks!

Best regards,

Emanuele Signorin

3 REPLIES 3

Deepak Ingale1
Mega Sage

How to send attachment files to MID Server


Above article will help you


Aditya Telideva
ServiceNow Employee

Hi Emanuele,


You will have to write mid server script include and then using Attachment API provided by servicenow download the attachments to mid server location.


This coding has to be written in mid server script include.



Steps:


1) Send attachment record sys_id to mid server


2) Send username and password to access the attachment api



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks,


Aditya Telidevara


Not applicable

Hi

Alternatively you can use orchestration to achieve this.

Please check out my video:  Servicenow - Sending file to Mid server