Put a PDF file back to origin folder

Post Reply
jocke.f
Newbie
Posts: 2
Joined: Sun Jan 05, 2014 1:52 pm

Put a PDF file back to origin folder

Post 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
compendio
Member
Posts: 22
Joined: Tue Feb 28, 2012 9:45 am

Put a PDF file back to origin folder

Post 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
User avatar
Terkelsen
Member
Posts: 126
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Put a PDF file back to origin folder

Post 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.
Post Reply