cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a simple workflow in Alfresco

badim
Champ on-the-rise
Champ on-the-rise
need help, step by step are structured simple workflow
i install Eclipso for Java (Neon)
add in Eclipso plug-in Activity Explorer


both from Eclipso transfer document to Alfresco?
4 REPLIES 4

kalpesh_c2
Star Collaborator
Star Collaborator

Hi Badim,

The following link would be helpful to know about creating custom workflows. The tutorial covers mostly all the aspects of workflow.

http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html

Let me know if you have any further query on this.

Thank You,
Kalpesh
ContCentric

badim
Champ on-the-rise
Champ on-the-rise
I saw this note. I do not understand how to pass the workflow in working Alfresco

kalpesh_c2
Star Collaborator
Star Collaborator

Hi,

I assume that you already have installed alfresco sdk in eclipse.
There are four files required for any workflow
1. Process file (BPMN file) (<repo>/src/main/amp/alfresco/extension/workflow)
2. Model file (/extension/model)
3. Context file (/extension)
4. Create share-config-custom.xml in (<share>/src/main/resources/META-INF/web-extension)

NOTE: You have to create the folders if not present already and you have to create share-config-custom.xml
and configure your workflow in it. Register your process BPMN and model files in a context file.

Ex. 

<bean id="your.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">activiti</prop>
<prop key="location">alfresco/extension/workflows/yourProcess.bpmn20.xml</prop>
<prop key="mimetype">text/xml</prop>
<prop key="redeploy">true</prop>
</props>
</list>
</property>
<property name="models">
<list>
<value>alfresco/extension/model/yourWorkflowModel.xml</value>
</list>
</property>
<property name="labels">
<list>
<value>alfresco/messages/yourWorkflow</value>
</list>
</property>
</bean>

Thank You,

Kalpesh

ContCentric

Hi, can you be more specific?

I have in my Maven Project this files for the workflow :

1)Share-config-custom.xml

2)bootstrap-context.xml

3)scWorkflowModel.xml

4)myWorkflow.bpmn

what does it mean "Process file (BPMN file) (<repo>/src/main/amp/alfresco/extension/workflow)"

this path doesn't exist in an alfresco community installation i think...

The file must be renamed as bpmn20.xml ? or leave it as .bpmn ?

thank you so mutch.