Example for a Workflow creating a path and move a file
Posted: Thu Jan 04, 2018 4:40 pm
Hi there,
does anybody have an idea how the Folder createPath works?
The description on the workflow-automation website is not that useful.
https://docs.logicaldoc.com/en/workflow ... automation
The documentation give the hint:
DocTool Categorie Folder createPath(Document doc, String targetPath)
Does this mean
or is this "Folder" information wrong in the documentation and is should be:
And my is the doc needed in this call ?
After that I would like to move the file in the folder via the workflow.
This should work via right?
does anybody have an idea how the Folder createPath works?
The description on the workflow-automation website is not that useful.
https://docs.logicaldoc.com/en/workflow ... automation
The documentation give the hint:
DocTool Categorie Folder createPath(Document doc, String targetPath)
Does this mean
Code: Select all
$DocTool.Folder.createPath(Document doc, String targetPath)
Code: Select all
$DocTool.createPath(Document doc, String targetPath)
After that I would like to move the file in the folder via the workflow.
This should work via
Code: Select all
$DocTool.move($doc, "/TargetFolder")