cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 1.4 Manual Workflow deployment

stealthnsk
Champ in-the-making
Champ in-the-making
In wiki I've found the following file:

<bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
   <property name="workflowDefinitions">
      <list>
         <props>
            <prop key="engineId">jbpm</prop>
            <prop key="location">org/alfresco/repo/workflow/jbpm/adhoc_task_processdefinition.xml</prop>
            <prop key="mimetype">text/xml</prop>
         </props>
      </list>
   </property>
</bean>

As I understand this file points to xml process definition located inside repository.jar
Where should I put my own file and how to point it? Of cource I could add it into repository.jar but it doesn't look like good solution.
2 REPLIES 2

davidc
Star Contributor
Star Contributor
You're correct, the two out-of-the-box workflow definitions reside in repository.jar - this is an error.  The next 1.4 release will provide the definitions within the config folder.

For your own definitions, you can place them in the config folder:

e.g. /config/alfresco/workflow/myworkflow_processdefinition.xml

A reference can be made as follow:

<prop key="location">alfresco/workflow/myworkflow_processdefinition.xml</prop>

stealthnsk
Champ in-the-making
Champ in-the-making
Thank you!