You are here

Deploying the task model

You deploy your workflow task model using the Spring "Workflow Deployer" bean. The bean can be used in conjunction with Alfresco Community Edition configuration extension mechanism to deploy custom made workflows and models.

In the following example configuration we are deploying a process definition adHocModel.bpmn2.0.xml) and a workflow content model adHocModel.bpmn2.0.xml. In both properties, the “location” is the classpath location of the XML file.

   <bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
   <property name="models">
         <-- Task Model associated with above process definition -->
   <property name="workflowDefinitions">
         <prop key="engineId">activiti</prop>     
         <prop key="location">alfresco/extension/adHocModel.bpmn2.0.xml</prop>     
         <prop key="mimetype">text/xml</prop>     
         <prop key="redeploy">false</prop>

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.