Page 1 of 1
Moving Approved Files
Posted: Thu Nov 29, 2018 3:05 pm
by Penguin
I'm a true Newbie to programming. I've created a flow that preflights a file then asks the CSR or Customer to approve the job from within the PDF Viewer. After it's approved I want switch to move the file from the Approved folder to a different server using the first 5 digits of the file name to find that folder on the new server and put the file in there. Can anybody help with this?
Thanks in advance,
Very green
Re: Moving Approved Files
Posted: Fri Nov 30, 2018 12:50 pm
by LasseThid
I think you may be looking at something like this:

- Skärmavbild 2018-11-30 kl. 12.18.42.png (51.37 KiB) Viewed 8519 times
This basically sets the path to the folder you want to copy your files to and then the Submit hiearachy at the end lets you specify the network path to the server.
Submit Hierarchy settings:

- Skärmavbild 2018-11-30 kl. 12.19.27.png (83.99 KiB) Viewed 8519 times
Set Hierarchy path settings:

- Skärmavbild 2018-11-30 kl. 12.19.50.png (63.09 KiB) Viewed 8519 times
Edit: The last two pictures are in the incorrect order, but I'm not able to edit the post to get them in the correct order.
Re: Moving Approved Files
Posted: Fri Nov 30, 2018 6:03 pm
by Penguin
I understand this but I don't understand how to make it use the set hierarchy name to the folder already created. Can you help with this?
thanks,
Bruce
Re: Moving Approved Files
Posted: Fri Nov 30, 2018 10:47 pm
by LasseThid
Our jobs are numbered PXXXXXX and we archive them in three levels, thousands, hundreds and full number.
Lets say the order number is P123456
This means that the first segment is the first four characters of the job name followed by three zeros, ie P123000 which is a thousand level.
The second segment is the first five characters of the job name with two trailing zeros, ie. P123400, which is the hundreds level.
The third segment is the full name, ie. P123456.
This means the hierarchy path will be P123000/P123400/P123456
If you combine this with the path in the Submit hierarchy you end up with the path /Volumes/huvudserver/poffordrar/P123000/P123400/P123456 which is where the files end up.
Re: Moving Approved Files
Posted: Mon Dec 03, 2018 3:25 pm
by Penguin
Thank you both for your help! Like I said I'm a newbie so I'll probably have a lot of questions.
thanks,
Bruce