Using variables in filepath
Posted: Mon Sep 19, 2016 12:14 pm
Would it be possible to use a variable as part of a filepath for a folder in Switch?
I have a fixed folder structure for all costumers. The only difference is, that the top folder would be named after the costumer. All files are submitted through a Submit Point and the name of the costumer (which equals the name of the top folder) is supplied as metadata.
I have a specific flow that will be duplicated for each costumer and at different point in this flow I use folders in that same folder structure. Let's say I have this folder structure: Name/Input/Datasource. Rather than change each flow to point to the correct folder, it would be really handy if I could define "Name" as a variable grabbed from the metadata.
I use variables for paths in "Inject Job", but the same syntax doesn't seem to work for a folder path. Any ideas?
I have a fixed folder structure for all costumers. The only difference is, that the top folder would be named after the costumer. All files are submitted through a Submit Point and the name of the costumer (which equals the name of the top folder) is supplied as metadata.
I have a specific flow that will be duplicated for each costumer and at different point in this flow I use folders in that same folder structure. Let's say I have this folder structure: Name/Input/Datasource. Rather than change each flow to point to the correct folder, it would be really handy if I could define "Name" as a variable grabbed from the metadata.
I use variables for paths in "Inject Job", but the same syntax doesn't seem to work for a folder path. Any ideas?