I would like to set a variable with the name of the folder where a file has been captured in the workflow. The folder capture is looking at sub-folders and I need to know which sub-folder the file was captured from for later steps in the flow. Is it possible?
Hello GBoyland,
In Workflow you get “Job Infos” from any Input task in the software. In the case of the Folder Capture, there are 2 job infos added to your process:
- %1 is “Source file name” which is the full path to the file including file name and extension
- %2 is “Folder” which is the folder where the file was captured. This is also the full path, so you’ll have to do a bit of manipulation to actually get the part that you need or want (this will most likely require a script).
Hope this helps!
~Evie