cancel
Showing results for 
Search instead for 
Did you mean: 

Workflows not Starting

nyorai
Champ in-the-making
Champ in-the-making
I'm completely new to Alfresco but I'm really struggling to work out where I'm going wrong with Activiti workflows. I have tried to follow Jeff's simple hello world example and I've created the BPMN file in Eclipse using Activiti Designer fine. I'm using Eclipse Kepler(20130614-0229) with Designer 5.12.0.

Next I copy the BPMN file to Tomcat under shared/classes/activiti/extension and then deploy the workflow through the Workflow Console. This all goes fine.

Next, I try to use the console to start the workflow and I get the following: A system error happened during the operation: 06070071 Failed to start workflow activity$helloWorld:1:704

I'm using Alfresco 4.2 Community Edition on Ubuntu 12.04 Server.

Can anyone help? I've searched and searched and can't find what I'm missing. I really am a complete beginner so I've no idea where to begin.
2 REPLIES 2

nyorai
Champ in-the-making
Champ in-the-making
I've found a solution to my problem, only to discover a new one. My initial problem seems to be caused by Activiti Designer replacing
class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener"
with
class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener"
- not sure if that is a bug.

Now everything works as expected, I can start the workflow from the console and I can use it within Alfresco Explorer, except when I try to use it from within Alfresco Share. Do I need to do something extra to make it work in Share?

nyorai
Champ in-the-making
Champ in-the-making
It's not me! It's 4.2c's fault! I downgraded to 4.2b as mentioned <a href="http://forums.alfresco.com/forum/developer-discussions/workflow/cant-run-activiti-wf-alfresco-42c-nu...">here</a> and everything works as per the tutorial.