cancel
Showing results for 
Search instead for 
Did you mean: 

Out ox the box workflows not working

benkunz
Champ in-the-making
Champ in-the-making
Hi,
I installed alfresco 4.0.d community. There are 4 or 5 out of the box workflows. I cant start any of them. Here are the errors I get when trying to start

adhoc:
org.alfresco.service.cmr.workflow.WorkflowException: 07100013 Failed to start workflow activiti$activitiAdhoc:1:4

group review and approve:
org.alfresco.scripts.ScriptException: 07100101 Failed to execute supplied script: 07100100 ReferenceError: "wf_requiredApprovePercent" is not defined. (AlfrescoJS#4)

review and approve:
org.alfresco.service.cmr.workflow.WorkflowException: 07100123 Failed to start workflow activiti$activitiReview:1:8.

Just so yo know, I also set up accounts sync between active directory and alfresco, and I also deployed an additional workflow using this doc http://techblog.zabuchy.net/2012/creation-of-workflow-in-alfresco-using-activiti-step-by-step/
I dont think this could be the reason why the out of the box workflows dont work, but I just let you know.

Thanks
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
I haven't read that blog post in detail, but it appears that the author is putting custom types (e.g., "wf:assignEstimateTask") in Alfresco's "wf" namespace instead of defining a new namespace. This is a huge no-no, and if you have followed the same example, it could explain why the out-of-the-box workflows are broken. Because you have redefined the "wf" namespace, Alfresco is unable to find the out-of-the-box types it originally defined in that namespace, which is where "wf_requiredApprovePercent" lives.

I suspect if you update your custom model to be in your own namespace (and make the corresponding changes in your process definition and form config) your custom workflows will work and your out-of-the-box workflows will start working again.

Jeff