Page 1 of 1

Put a PDF file back to origin folder

Posted: Sat Dec 06, 2014 4:55 pm
by jocke.f
Look at my flow chart. Is possible to drag a PDF file to a Switch flow and after an action Switch moves the file back to origin folder?



Look at the flow at this link http://www.cela.nu/wp-content/uploads/2014/12/flow1.png

Put a PDF file back to origin folder

Posted: Sat Dec 06, 2014 10:06 pm
by compendio
What I do:

We submit a folder with Switch Client, then there is a property [Job.Origin] with the path you need to build the copy command to copy the file back. Have a look to the Environment class and the copy member or you might use the Process class to execute the command for copying the files.



Best regards,

Thomas

Put a PDF file back to origin folder

Posted: Mon Dec 08, 2014 9:39 am
by Terkelsen
You could also use the "Set Hierarchy Path" to add JobName Proper segment 1-7 to the Hierarchy of the file and then send the file back to an "Archive Hierarchy" containing your usual file structure.