cancel
Showing results for 
Search instead for 
Did you mean: 

deploy activiti-workflow in alfresco

gouja
Champ in-the-making
Champ in-the-making
hello,

I'm new in alfresco3.4.e ,i'm trying to deploy an example of activiti-workflow in alfresco so i download this some code "http://ecmarchitect.com/images/activiti/someco-activiti-project.zip"
and i placed it in  "/opt/alfresco-3.4.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/workflows/activiti/",
then i go to the workflow-concole and type "deploy activiti /opt/alfresco-3.4.e/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/extension/workflows/activiti/activitiHelloWorld.activiti"  but it doesn´t work
the result is "org.alfresco.error.AlfrescoRuntimeException: 06270013 Exception in Transaction"

is it the right way to deploy an activiti workflow?

thanks in advance for your reply and sorry for my bad english.
6 REPLIES 6

gouja
Champ in-the-making
Champ in-the-making
Any feedback   :?:

cjimenez2581
Champ in-the-making
Champ in-the-making
one thing, you must place the WF in <TOMCAT_HOME>/shared/classes/alfresco/extension

Then you can restart tomcat using sudo service alfresco stop tomcat and then sudo service alfresco start tomcat

that is a way

gouja
Champ in-the-making
Champ in-the-making
hi
i tryed this , i placed the three file activitiHelloWorld.activiti, activitiHelloWorld.bpmn20.xml and activitiHelloWorld.png in the directory "/opt/alfresco-3.4.e/tomcat/shared/classes/alfresco/extension" and i restarted alfresco but it doesn't work, i don't find the workflow activitiHelloWorld in the list of workflows in alfresco share.

cordially

cjimenez2581
Champ in-the-making
Champ in-the-making
you only need activitiHelloWorld.bpmn20.xml
but you must create some files like contentModel, bean deployer etc…

Theres some info in forum http://wiki.alfresco.com/wiki/WorkflowAdministration

zorek
Champ in-the-making
Champ in-the-making
Hi, I have read those articles, but I am still unable to deploy a new model to Alfresco.
To use the workflow console alone is not enough, but I am not able to figure out what other steps I need to make…
I have prepared a new model, which is exactly the same as Pooled Review and Approve (Activiti), however I have changed its name. For modelling purposes I have used Activiti BPMN 2.0 designer with Eclipse.
It generates the files as listed in the posts before, I figured out, that the .bpmn20.xml file should be deployed but can not figure out how to prepare the other files.

In the workflow console it generates an org.alfresco.error.AlfrescoRuntimeException with no traces of it in any of the logs in the tomcat directory…

…it seems, I am not the only one having troubles with that (http://forums.alfresco.com/en/viewtopic.php?f=10&t=39805).

Any hints on this will be appreciated and thanks in advance.

michal_stachura
Champ in-the-making
Champ in-the-making
1. For testing and learnig purpose you should use one of the already created BPMN 2.0 workflow packed in Alfresco. You recognize them by extension *.bpmn20.xml

2. Install Activiti plugin for Eclpise for editing already mentioned worflows (*.bpmn20) (find some other tutorial)

3. Try one of worflows and edit some values, I choose adhoc.bpmn20.xml like example, make sure that at the end you rename file like adhoc_2.bpmn20) and copy xml file to your alfresco workflow directory (find some other tutorial)

4. Go to alfresco not share. Login as admin and then you go to workflow console

5. into your worflow console type deploy activiti /alfresco/extension/workflow/adhoc_2.bpmn20.xml (type help for more useful commands, you gonna need them), after deploying you might see workflow id and other information about what you are doing…

6. then you have to logout and login again to your share or alfresco and after that go to the list of worflows and you should see it in your list

7. Don't give up.