AnsweredAssumed Answered

Workflow Hello World example

Question asked by gslamy on Mar 25, 2015
Latest reply on Jun 9, 2015 by cledor
Hi,

i read http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#hello-world-examples and use Alfresco 5.0.d

In Eclipse I created Activiti Diagram into /all-in-one/repo-amp/src/main/amp/config/alfresco/module/repo-amp/workflows/helloWorld.bpmn
In /all-in-one/repo-amp/src/main/amp/config/alfresco/module/repo-amp/context/service-context.xml  added:

    <bean id="${project.artifactId}.workflowBootstrap" parent="workflowDeployer">
    <property name="workflowDefinitions">
        <list>
            <props>
                <prop key="engineId">activiti</prop>
                <prop key="location">alfresco/module/${project.artifactId}/workflows/helloWorld.bpmn</prop>
                <prop key="mimetype">text/xml</prop>
                <prop key="redeploy">false</prop>
            </props>
            <props>
                <prop key="engineId">activiti</prop>
                <prop key="location">alfresco/module/${project.artifactId}/workflows/helloWorldFork.bpmn</prop>
                <prop key="mimetype">text/xml</prop>
                <prop key="redeploy">false</prop>
            </props>
        </list>
    </property>
   </bean>


But i get error. I used right paths?

Outcomes