cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Hello World example

gslamy
Champ in-the-making
Champ in-the-making
Hi,

i read http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html#hello-wo... 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?
2 REPLIES 2

arak
Confirmed Champ
Confirmed Champ
Hi gslamy,

Can you share the error (console log)? The paths is right.

Greetings,
Pablo.

cledor
Champ in-the-making
Champ in-the-making
Hi gslamy,
Have you solved the problem?