Hi,
I have succesfully add a custom workflow to alfresco. But now i want to add the same workflow using a amp file. The structure of the amp file is as follow:
/
–>/config
——>/alfresco
———–>/module
—————>/myModuleId
——————->/content
———————–>bootstrap-content.xml
——————->/workflow
———————–>myWorkflow_messages.properties
———————–>myWorkflow_processdefinition.xml
———————–>myWorkflow_workflowModel.xml
——————->module.content.xml
–>module.properties
The new module deploy good, but the workflow is not defined.
I have edited the bootstrap-content.xml as follow:
<bean id="scs.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">alfresco/module/myModuleId/workflow/myWorkflow_processdefinition.xml</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
<property name="models">
<list>
<value>alfresco/module/myModuleId/workflow/myWorkflow_workflowModel.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/module/myModuleId/workflow/workflowmodulename</value>
</list>
</property>
</bean>
</beans>
The workflow files are the same that i have been using before, so they work fine. Should i edit any other files?
Anyone has any idea?
Thanks