Nov 04

Workflow and folder actions

How to initiate a workflow on a folder.

By default workflows can be initiated on files but not on folders, which seems to be a big flaw! Anyway, I am looking at how to set this up. Hopefully I’ll get it to work.


I found the file in this location:/opt/alfresco/tomcat/webapps/share/WEB-INF/classes/alfresco/share-documentlibrary-config.xml
and also found the actionGroup with id=”folder-browse”Looking through the file I find under “document-browse” the line
<action index=”280″ id=”document-assign-workflow” />
and under “document-details” the line
<action index=”270″ id=”document-assign-workflow” />So, I copied these to the folder sections (changing document to folder) like this:
<action index=”400″ id=”folder-assign-workflow” />However, this does not seem to have the required effect.