deploy activiti-workflow in alfresco
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2011 10:36 AM
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.
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.
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2011 06:57 AM
Any feedback :?:
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2011 11:27 AM
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
Then you can restart tomcat using sudo service alfresco stop tomcat and then sudo service alfresco start tomcat
that is a way
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2011 04:28 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-03-2011 05:56 PM
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
but you must create some files like contentModel, bean deployer etc…
Theres some info in forum http://wiki.alfresco.com/wiki/WorkflowAdministration

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2011 06:00 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2011 04:20 AM
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.
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.
