Page 1 of 1

Automate Script for Moving documents

Posted: Fri Oct 28, 2016 8:34 am
by leninkumarmp
Hello,

Firstly Thanks for this wonderful product.

i need to move the documents once it is claimed and completed the task assigned by the user to another directory, how do i do this.
below is my workspace directory name and document name, please help me in the script and the procedure to establish the said task.

BPCLis the Workspace name:

Directory List:
1. TestDocMove
2. TestDocArc

Workflow created and deployed on "TestDocMove", new docuement received to the directory "TestDocMove" now i workflow completed but document is not moved.

document filename is "TestFile.xls"

Re: Automate Script for Moving documents

Posted: Sat Oct 29, 2016 7:25 pm
by car031
You can use the Automation in the transition, you can call the $DocTool.move

Code: Select all

#foreach( $doc in $documents )
$DocTool.move($doc, "/TestDocArc")
#end

Re: Automate Script for Moving documents

Posted: Sun Oct 30, 2016 10:26 am
by leninkumarmp
Thank You. It worked!