Page 1 of 1

Adding the Orginal Folder Name as a Prefix to a Filename

Posted: Mon Feb 26, 2024 2:30 pm
by MJDS
Is there a way to adding the folder name as a prefix to a filename.
For Example

Folder is called 123456
File is called TestABC

When Processed the file is called 123456 TestABC

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Posted: Mon Feb 26, 2024 2:57 pm
by magnussandstrom
What do you input to switch, only files or a job folders containing files?

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Posted: Mon Feb 26, 2024 8:22 pm
by MJDS
It will be a folder very time containing files that goes into a hot folder or a submit point. The folder has a Job Number on it, if possible teh Job Number from the file needs to be added to the begining of the file name.

Re: Adding the Orginal Folder Name as a Prefix to a Filename

Posted: Tue Feb 27, 2024 8:22 am
by jan_suhr
In the early part of the flow you set a Private data key that has the value of the job number you get from the folder.
Later in the flow you have a Rename element that adds that Private data key value to the filename.