Posts

Showing posts with the label alfresco

Some quick Alfresco Activiti workflow tips

Some quick Alfresco Activiti workflow tips If you are working with Activiti workflows on Alfresco, here are some quick tips I found and I hope can save you some time. Delete workflow instances When you are in the development phase, usually you will have lots of workflows started, but not always finished. If you want to remove all the running workflow instances, you can use a simple command in the workflow console (http://server:8080/alfresco/faces/jsp/admin/workflow-console.jsp) delete all workflows imeanit But there is a problem with this command. It wont remove the workflow historical registers on database, and you can find some problems accessing your completed tasks after you undeploy your old workflow definitions. This is a bug, and it wasnt fixed until 4.2.f, as described here https://issues.alfresco.com/jira/browse/ALF-20522 All you need to do is to run a delete on the database to delete all historic data for no existing workflow definitions: delete from ACT_HI_TASKINST wher...