• Assigning Workflow to a Folder

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #31002  by DMT
 
Hi All,

I just wanted to ask if it's possible to assign workflow to a folder? Hence, in essence, when a user would upload a document to a folder, the Workflow would automatically start
 #31033  by jllort
 
You must do it with automation task. First of all must register automation http://wiki.openkm.com/index.php/Enable ... ersion_6.2

Then simply create an automation task like:
1- Document creation event at post
2- Validation -> PathContains point to your folder
2- Action -> Here got one options -> AddWorkflowToWizard ( mandatori need your user upload workflow from UI ).

Also you could create your own action to execute workflow directly without wizard. Take a look here https://sourceforge.net/p/openkm/code/H ... izard.java You should create your own class and execute directly here the workflow to the document ( take a look here for example how adding a keyword https://sourceforge.net/p/openkm/code/H ... yword.java )

In professional version we got best implementation based on plugins, we've still not shared it on community version.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.