Friday, December 4, 2015

Steps to deploy a workflow in Alfresco Share




1.   Place the contents of share.xml into share config custom xml file (tomcat\webapps\share\WEB-INF\classes\alfresco\web-extension)
2.   Create a new folder under:
 C:\Alfresco5\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module
3.    Place model file, BPMN file and module context file in the new folder (C:\Alfresco5\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\Sample_Workflow)
4.    Modify the path of model file and BPMN file under module context file (C:\Alfresco5\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\module\Sample_Workflow)
Path example:
        <value>alfresco\module\Sample_Workflow\model.xml</value>
        <prop key="location">alfresco\module\Sample_Workflow\sample.bpmn20.xml</prop>
5.    Check the prefix ‘example’ in model.xml file wherever applicable
6.    Also, update the prefix in Share Custom config file-> ‘example’
7.    Check the Model Name and Namespace URI in model.xml file
Example:
    <model xmlns='http://www.alfresco.org/model/dictionary/1.0' name='example:workflowmodel'>
    <namespace uri="example.workflowModel" prefix="example"/>
8.    Restart Tomcat

No comments:

Post a Comment