Import files from Nas and attach them to task

I_Todini1
Tera Contributor

Hi all,

 

I'd like to know if there is a feature in integration hub that allows you to take files from a nas and put them as attachments in servicenow tasks (I'm not interested in reading the contents of the files, just transferring them).

Thank you

 

1 ACCEPTED SOLUTION

You should be able to set the parameters such as table as needed on that step. You could try storing them on the sys attachments table and build a flow in the designer to attach them to the a target record dynamically based on the attachment name.

 

Hopefully this helps

 

View solution in original post

3 REPLIES 3

-Andrew-
Kilo Sage

Hi there,

 

I've done something similar, but not exactly.

 

You could try setting up a connection from your NAS to your mid server and using a tool such as this to import the files; Remote File Importer (Import Files from a MID Server) - Share | ServiceNow Developers

 

Another option is to use integration hub as you mention, here are the general steps you'd need to follow; please note i haven't actually tested this so it might need some tweaking:

  1. Connect to your NAS: you need to set up a connection to your NAS in Integration Hub. You can use one of the readily available connectors (e.g., FTP, SFTP, SMB) or create a custom connector if needed
  2. Create a flow: Once you have a connection to your NAS, you can create a flow in Integration Hub to transfer the files
  3. Add the "File Transfer" action: In the flow, add the "File Transfer" action from the list of available actions. This action will allow you to transfer files from the NAS to ServiceNow as attachments
  4. Configure the "File Transfer" action: In the "File Transfer" action, specify the source path for the files on the NAS and the target path for the attachments in SN

 

Hope this helps!

Thank you very much, regarding the point 4 of the solution with File Transfer action, can I do it dynamically, changing the source path and the target path,  since I have to link each file (using the file naming convention) with a specific task?

Or this configuration are static in the flow?

 

 

You should be able to set the parameters such as table as needed on that step. You could try storing them on the sys attachments table and build a flow in the designer to attach them to the a target record dynamically based on the attachment name.

 

Hopefully this helps