I have a workflow that collects more than a dozen types of letter documents (all with different file names) and batches and joins them into a single PDF output. These PDF files are then sent to a specified folder. I'd like to be able to change the single PDF file name to a static and generic output name and then concatenate the timestamp after that. Is this possible? Please send any suggestions. Thank you.
You could save the file using for instance:
This will give you date and time down to milliseconds.
$FFtimeStamp$ can also be formatted. For instance:
will give you the name:
Please see Process Variable Options in the Help Guide.
According to the help guide 'timeStamp' is an unsupported variable for support variable operations. It doesn't appear that any manipulations I make (format, substring, etc.) changes the timeStamp variable. I'm wondering if there is a way to just add the current day, but not the time in the file name?
To exclude the time you can paste this line into a text file and save it to a batch file (.bat):
copy %1 "C:\Temp\filename_%date%.pdf"
Replace your Save node in the workflow with an External Process where you use the batch file.
I am using FFCore 6.0.2. When I define within the Save node the filename to be $FFwfJob.jobName$$FFtimeStamp.Format(false,true,-,numpad,numpad, false, false).substring(0,5)$, I obtain the filename (for job named "atlanta") of "atlanta02-26 .pdf".