cancel
Showing results for 
Search instead for 
Did you mean: 

deploy workflow

chys
Champ in-the-making
Champ in-the-making
Hi,all
  I deploy a workflow according to the WorkflowSample Lifecycle.When  I deploy it ,it can't occur in the dailog of start advanced workflow. Who can give me some suggestion? Thank you very much!
1 REPLY 1

rob562435
Champ in-the-making
Champ in-the-making
Did you add your workflow in the "workflow-context.xml" that should be present in the "alfresco/extension" folder?
Content is like:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="parallel.workflowBootstrap" parent="workflowDeployer">
  <property name="workflowDefinitions">
   <list>
    <props>
     <prop key="engineId">jbpm</prop>
     <prop key="location">alfresco/extension/workflow/ccrProcessDefinition.xml</prop>
     <prop key="mimetype">text/xml</prop>
     <prop key="redeploy">true</prop>
    </props>
   </list>
  </property>
  <property name="models">
   <list>
    <value>alfresco/workflow/workflowModel.xml</value>
   </list>
  </property>
  <property name="labels">
   <list>
    <value>alfresco/workflow/workflow-messages</value>
    <value>alfresco/extension/workflow/ccrProcessDefinition_messages</value>
   </list>
  </property>
</bean>
</beans>
Next to that you should add content to the following files:
web-client-config-custom.xml
custom-model-context.xml
ccrProcessDefinition_messages.properties
All also present in the extension folder. Also a model file should be created to hold the model definition connected to each workflow step defined in your workflow.
Hope this helps….