- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 02:45 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 03:14 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 02:55 AM
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:
- 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
- Create a flow: Once you have a connection to your NAS, you can create a flow in Integration Hub to transfer the files
- 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
- 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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 03:05 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2023 03:14 AM
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