<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ACS Deploying Workflow in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/acs-deploying-workflow/m-p/128417#M34830</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use ACS 6.2-GA :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfresco.png" style="width: 542px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/958iC2972FF288D6DA07/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;using Workflow Admin Console i tried to deploy a sample bpmn2.0 workflow file :&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;definitions id="definitions"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:activiti="http://activiti.org/bpmn"
             targetNamespace="Examples" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd"&amp;gt;
  &amp;lt;process id="osgiProcess" name="Osgi process"&amp;gt;
    &amp;lt;startEvent id="start" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="start" targetRef="serviceTask"/&amp;gt;
    &amp;lt;serviceTask id="serviceTask" activiti:delegateExpression="${testBean}" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="serviceTask" targetRef="serviceTask2"/&amp;gt;
    &amp;lt;serviceTask id="serviceTask2" activiti:delegateExpression="${activityBehaviourBean}" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="serviceTask2" targetRef="end"/&amp;gt;
    &amp;lt;endEvent id="end"/&amp;gt;
  &amp;lt;/process&amp;gt;
&amp;lt;/definitions&amp;gt;&lt;/PRE&gt;&lt;P&gt;error is :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;org.alfresco.service.cmr.workflow.WorkflowException: 11240036 Workflow Component for engine id 'activity' is not registered&lt;/PRE&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 12:51:44 GMT</pubDate>
    <dc:creator>sorov17270</dc:creator>
    <dc:date>2020-12-24T12:51:44Z</dc:date>
    <item>
      <title>ACS Deploying Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-deploying-workflow/m-p/128417#M34830</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I use ACS 6.2-GA :&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alfresco.png" style="width: 542px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/958iC2972FF288D6DA07/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;using Workflow Admin Console i tried to deploy a sample bpmn2.0 workflow file :&lt;/P&gt;&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;definitions id="definitions"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:activiti="http://activiti.org/bpmn"
             targetNamespace="Examples" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd"&amp;gt;
  &amp;lt;process id="osgiProcess" name="Osgi process"&amp;gt;
    &amp;lt;startEvent id="start" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="start" targetRef="serviceTask"/&amp;gt;
    &amp;lt;serviceTask id="serviceTask" activiti:delegateExpression="${testBean}" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="serviceTask" targetRef="serviceTask2"/&amp;gt;
    &amp;lt;serviceTask id="serviceTask2" activiti:delegateExpression="${activityBehaviourBean}" /&amp;gt;
    &amp;lt;sequenceFlow sourceRef="serviceTask2" targetRef="end"/&amp;gt;
    &amp;lt;endEvent id="end"/&amp;gt;
  &amp;lt;/process&amp;gt;
&amp;lt;/definitions&amp;gt;&lt;/PRE&gt;&lt;P&gt;error is :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;org.alfresco.service.cmr.workflow.WorkflowException: 11240036 Workflow Component for engine id 'activity' is not registered&lt;/PRE&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 12:51:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-deploying-workflow/m-p/128417#M34830</guid>
      <dc:creator>sorov17270</dc:creator>
      <dc:date>2020-12-24T12:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: ACS Deploying Workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/acs-deploying-workflow/m-p/128418#M34831</link>
      <description>&lt;P&gt;You have to register the workflow using 'workflowDeployer' bean with 'workflowDefinitions' property.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;example, registering 'helloWorld.bpmn':&lt;/U&gt;&lt;/P&gt;

&lt;PRE&gt;&amp;lt;bean id="${project.artifactId}.customWorkflowBootstrap" parent="workflowDeployer"&amp;gt;
    &amp;lt;property name="workflowDefinitions"&amp;gt;
        &amp;lt;list&amp;gt;
            &amp;lt;props&amp;gt;
                &amp;lt;prop key="engineId"&amp;gt;activiti&amp;lt;/prop&amp;gt;
                &amp;lt;prop key="location"&amp;gt;alfresco/module/${project.artifactId}/workflow/&lt;STRONG&gt;helloWorld.bpmn&lt;/STRONG&gt;&amp;lt;/prop&amp;gt;
                &amp;lt;prop key="mimetype"&amp;gt;text/xml&amp;lt;/prop&amp;gt;
                &amp;lt;prop key="redeploy"&amp;gt;false&amp;lt;/prop&amp;gt;
            &amp;lt;/props&amp;gt;
        &amp;lt;/list&amp;gt;
    &amp;lt;/property&amp;gt;
&amp;lt;/bean&amp;gt;&lt;/PRE&gt;


&lt;P&gt;Refer this doc :&amp;nbsp;&lt;A href="https://docs.alfresco.com/6.1/topics/wf-deploy-taskmodel.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/6.1/topics/wf-deploy-taskmodel.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Also consider going through this tutorial:&amp;nbsp;&lt;A href="http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html" target="_blank" rel="noopener nofollow noreferrer"&gt;http://ecmarchitect.com/alfresco-developer-series-tutorials/workflow/tutorial/tutorial.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 16:44:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/acs-deploying-workflow/m-p/128418#M34831</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-12-24T16:44:39Z</dc:date>
    </item>
  </channel>
</rss>

