Sending Request Attachments via FTP or Export to Mid Server

Harry Campbell2
Mega Guru

Hello Everyone,

I have asked a similar question before but didn't get very far however I now have a better idea of what I need.

We have a request that requires an attachment, currently.... the request gets approved and sent to one of our teams who download the attachment and place it on the required server.

What I want to do is automatically send the attachment to that server once the request is approved, would it be possible to do either of the following:

1. Export the attachment via FTP/SFTP

2. Send the Attachment to a folder on the MID server.

Could anyone tell me the best way to achieve this if it is at all possible?

Thanks

Harry

4 REPLIES 4

Rajesh M1
Giga Guru

If it is to FTP server, check below link



Send an Attachment from Service Now and store it on FTP server via MID server | Gyan'o'Mania



Best Regards,


Rajesh M.


Thanks Raj,



I did look at this earlier but this seems to export any new attachments.



I only want to export the one attachment whenever the request containing the attachment is approved. (hope that makes sense)


Harry Campbell2
Mega Guru

Can anyone shed any more light on this. Knowing the power of ServiceNow - this must be possible.


Based on your request i would look into the Attachment API as a method of grabbing the attachment and having it saved to a server. https://developer.servicenow.com/app.do#!/api_doc?v=geneva&type=rest&scoped=null&to=method_class__re...