Hi All,
We were able to inject a file or folder from a dynamic path (using metadata value), is there any way that I can do the reverse of this by sending an output file or folder to a specific location (using metadata value)?
Thank you
How to send output file or folder to a specific location
- billy.olvestad
- Member
- Posts: 61
- Joined: Mon Nov 19, 2018 10:08 pm
- Location: Sweden
- Contact:
Re: How to send output file or folder to a specific location
I have also tried to do this, but found no way to send output files to a complete path from metadata.
What I found though was that if all the paths lead to the same main folder on a network share or local drive, you can set that folder as the "root" folder on "Archive hierarchy", and then add "Set hierarchy path" before that, and get the rest of the path with subfolders from metadata.
I would sure like a way to send files to a complete path from metadata though, if that's possible.
What I found though was that if all the paths lead to the same main folder on a network share or local drive, you can set that folder as the "root" folder on "Archive hierarchy", and then add "Set hierarchy path" before that, and get the rest of the path with subfolders from metadata.
I would sure like a way to send files to a complete path from metadata though, if that's possible.
- magnussandstrom
- Advanced member
- Posts: 512
- Joined: Thu Jul 30, 2020 6:34 pm
- Location: Sweden
- Contact:
Re: How to send output file or folder to a specific location
If Set hierarchy and Archive hierarchy doesn't work for your use case, you can do this instead:
Using Run Command. The URL could be any variable that you like. This have also the benefit that the output path doesn't have to be online for you to save and run the flow.
Command (for easy copy/paste): copy "%%InputFilePath%%" "\\myserver\subfolder\[Job.Name]"
Using Run Command. The URL could be any variable that you like. This have also the benefit that the output path doesn't have to be online for you to save and run the flow.
Command (for easy copy/paste): copy "%%InputFilePath%%" "\\myserver\subfolder\[Job.Name]"
Re: How to send output file or folder to a specific location
I use the Store it app for this case. I have a couple of Switch servers at different locations, with the same flows, and don't use static paths in flows. Instead I set the path in an xml and pick that up as metadata.
Since 'Store it' required a Hierarchy segment I split the path and feed it like this:
Since 'Store it' required a Hierarchy segment I split the path and feed it like this:
- billy.olvestad
- Member
- Posts: 61
- Joined: Mon Nov 19, 2018 10:08 pm
- Location: Sweden
- Contact:
Re: How to send output file or folder to a specific location
Seems like this app will come in very handy. Thanks for the tip.sander wrote: ↑Wed Jul 03, 2024 3:35 pm I use the Store it app for this case. I have a couple of Switch servers at different locations, with the same flows, and don't use static paths in flows. Instead I set the path in an xml and pick that up as metadata.
Since 'Store it' required a Hierarchy segment I split the path and feed it like this:
store_it.png