Get PDF file into servicenow from ftp server through midserver and create a request and attach it to the request.

suhasvishwanath
Kilo Contributor

Hi all,

Below is my requirement.

1.Get a pdf file ,stored in ftp server into service now through a mid server.

2.Create an incident/request and attach the pdf to the same.

note:I'm aware of data sources which don't support file type = pdf.

anyone tried this... Please help.

6 REPLIES 6

Hi Ankur, I did follow the steps suggested by you. I was stuck at the step of uploading a file to a record. I was able to achieve this with the help of multipart attachment rest API available oob.(which of course involved some Java code to execute a rest API post method from mid server script include ) Thank you for your guidance.i was able to resolve the issue of uploading a file from midserver script include to service now.

Hi Suhas,

Can you also mark my answer as correct and helpful. Thanks in advance

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader