Alfresco Workflow Activiti



Create alfresco workflow using Activiti eclipse designer step by step


Introduction

This post describes how to configure workflow in Alfresco framework using Activiti engine. More information about workflows in Alfresco can be found on Alfresco wiki page.


WorkflowWorkflow ConsoleWorkflow AdministrationCustom Share Workflow UIWorkflow Reqs and DesignActiviti Workflows


Before you start make sure that you have Activiti BPMN 2.0 designer, which is an Eclipse plugin

How to setup activiti plugin in eclipse

Go to eclipse Help>Install New Software


 






















It will list the Activiti BPMN Designer > then finish.

It will take some time to install the plugin…

After restarting eclipse you can create project

Go to New Activiti Project





Then Create Activiti diagram..

For example I am using the existing sample Review And Approve Activiti Process




It will create the process.bpmn file open this file in xml editor .






Change the process id and name

<process id="cactivitiReview" name="Custom Review And Approve Activiti Process">

Copy this xml content and save in new file name like cactivitiReview.bpmn20.xml

Now copy this xml file at <home>\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\workflow

Stop /Start the alfresco tomcat


type the command

deploy activiti alfresco/workflow/cactivitiReview.bpmn20.xml


After then you can check the workflow listed in Alfresco or Share.

No comments:

Post a Comment