Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you place your BPMN 2.0 process definition XML somewhere in the Alfresco classpath, you can use Alfresco's workflow console to deploy the definition.</p> <p>For example, I always place my workflows under WEB-INF/classes/alfresco/extension/workflows/someFolder where someFolder is a unique folder for each process definition I am using.</p> <p>The workflow console is in <a href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp">http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp</a>. Assuming you are using 3.4.e, which is a preview release showing Activiti integration, you can deploy a process through the workflow console with this command:</p> <pre><code> deploy activiti /alfresco/extension/workflows/activiti/activitiHelloWorld.activiti </code></pre> <p>You can see other helpful workflow console commands by typing help.</p> <p>Alternatively, as Gagravarr suggests, you can use Spring to deploy your workflow when Alfresco starts up. The Spring config file must have a name ending with "-context.xml". I usually place mine in WEB-INF/classes/alfresco/extension.</p> <pre><code> &lt;?xml version='1.0' encoding='UTF-8'?&gt; &lt;!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'&gt; &lt;beans&gt; &lt;bean id="someco.workflowBootstrap" parent="workflowDeployer"&gt; &lt;property name="workflowDefinitions"&gt; &lt;list&gt; &lt;props&gt; &lt;prop key="engineId"&gt;activiti&lt;/prop&gt; &lt;prop key="location"&gt;alfresco/extension/workflows/activiti/activitiHelloWorld.bpmn20.xml&lt;/prop&gt; &lt;prop key="mimetype"&gt;text/xml&lt;/prop&gt; &lt;prop key="redeploy"&gt;false&lt;/prop&gt; &lt;/props&gt; &lt;/list&gt; &lt;/property&gt; &lt;property name="models"&gt; &lt;list&gt; &lt;value&gt;alfresco/extension/model/scWorkflowModel.xml&lt;/value&gt; &lt;/list&gt; &lt;/property&gt; &lt;property name="labels"&gt; &lt;list&gt; &lt;value&gt;alfresco.extension.messages.scWorkflow&lt;/value&gt; &lt;/list&gt; &lt;/property&gt; &lt;/bean&gt; &lt;/beans&gt; </code></pre> <p>If you'd like working examples of some simple workflows, with the same workflows implemented for both jBPM and Activiti for easy comparison, take a look at this blog post: <a href="http://ecmarchitect.com/archives/2011/04/27/1357">http://ecmarchitect.com/archives/2011/04/27/1357</a></p> <p>Jeff</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload