<?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 Re: subprocess definition in a separate xml in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71350#M46199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Michael for your helpful examples. I was successfully able to run the test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually my concern was how to specify the xml filename to look for subprocess definition, but now I realize that engine looks in all xml resources.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Sep 2011 08:24:00 GMT</pubDate>
    <dc:creator>taurus</dc:creator>
    <dc:date>2011-09-20T08:24:00Z</dc:date>
    <item>
      <title>subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71345#M46194</link>
      <description>Hello,Is it possible to have a subprocess definition in a separate BPMN xml file so that this subprocess could be used by several application modules? I was searching for some 'include' tag in the BPMN xml, but didn't find anything.Thanks!</description>
      <pubDate>Tue, 20 Sep 2011 06:18:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71345#M46194</guid>
      <dc:creator>taurus</dc:creator>
      <dc:date>2011-09-20T06:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71346#M46195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure. You can define a sub process in a separate process definition and invoke it from a call activity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that this sub process can also be started as a main process definition as it's just a normal process definition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:16:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71346#M46195</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-09-20T07:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71347#M46196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick answer!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please share some xml examples or give some url to follow?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:30:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71347#M46196</guid>
      <dc:creator>taurus</dc:creator>
      <dc:date>2011-09-20T07:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71348#M46197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is explained very well in the userguide. And in the Activiti download you can find all kind of process examples in the workspace directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 07:34:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71348#M46197</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-09-20T07:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71349#M46198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi taurus,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an example for you:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Main process (in file: Example_Spec_02_calling_process.bpmn20.xml):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; &amp;lt;process id="callingProcess" name="Process with call activity"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;startEvent id="theStart" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="theStart" targetRef="startIgnition" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;manualTask id="startIgnition" name="Start ignition manutally" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="startIgnition"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="subProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;callActivity id="subProcess" name="Check ignition status"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; calledElement="externalSubProcess" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="subProcess"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="measureVoltageTask" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="measureVoltageTask" name="Measure voltage" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" sourceRef="measureVoltageTask"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="theEnd" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;endEvent id="theEnd" /&amp;gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;Subprocess(in file: Example_Spec_02_sub_process.bpmn20.xml):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt; &amp;lt;process id="externalSubProcess"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;startEvent id="theStart" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow1" sourceRef="theStart"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="verifyIgnitionOn" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="verifyIgnitionOn" name="Verify ignition on." /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow2" sourceRef="verifyIgnitionOn"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="confirmIgnitionOn" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;exclusiveGateway id="confirmIgnitionOn" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow3" sourceRef="confirmIgnitionOn"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="feedbackTask"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression&amp;gt;&amp;lt;![CDATA[${!ignitionOn}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow4" sourceRef="confirmIgnitionOn"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="normalEnd"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;conditionExpression&amp;gt;&amp;lt;![CDATA[${ignitionOn}]]&amp;gt;&amp;lt;/conditionExpression&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/sequenceFlow&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;userTask id="feedbackTask" name="Ignition not activated." /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;sequenceFlow id="flow5" sourceRef="feedbackTask"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; targetRef="endEvent" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;endEvent id="endEvent" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;endEvent id="normalEnd" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;My test method:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;@Deployment(resources = {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "com/bigfirm/wfe/test/res/Example_Spec_02_calling_process.bpmn20.xml",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "com/bigfirm/wfe/test/res/Example_Spec_02_sub_process.bpmn20.xml" })&lt;BR /&gt; public void testSpec02SubProcess() throws Exception {&lt;BR /&gt;&amp;nbsp; // After the process has started, the 'Start ignition' task&lt;BR /&gt;&amp;nbsp; // should be active&lt;BR /&gt;&amp;nbsp; ProcessInstance pi = runtimeService&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .startProcessInstanceByKey("callingProcess");&lt;BR /&gt;&amp;nbsp; TaskQuery taskQuery = taskService.createTaskQuery();&lt;BR /&gt;&amp;nbsp; Task startIgnition = taskQuery.singleResult();&lt;BR /&gt;&amp;nbsp; assertEquals("Verify ignition on.", startIgnition.getName());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // Verify with Query API&lt;BR /&gt;&amp;nbsp; ProcessInstance subProcessInstance = runtimeService&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createProcessInstanceQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .superProcessInstanceId(pi.getId()).singleResult();&lt;BR /&gt;&amp;nbsp; assertNotNull(subProcessInstance);&lt;BR /&gt;&amp;nbsp; assertEquals(pi.getId(), runtimeService.createProcessInstanceQuery()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .subProcessInstanceId(subProcessInstance.getId())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .singleResult().getId());&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // Completing the task with approval, will end the subprocess and&lt;BR /&gt;&amp;nbsp; // continue the original process arriving at the "Measure voltage task"&lt;BR /&gt;&amp;nbsp; taskService.complete(startIgnition.getId(),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CollectionUtil.singletonMap("ignitionOn", true));&lt;BR /&gt;&amp;nbsp; Task mesureVoltageTask = taskQuery.singleResult();&lt;BR /&gt;&amp;nbsp; assertEquals("Measure voltage", mesureVoltageTask.getName());&lt;BR /&gt; }&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The important thing here is that both xml file has to be deployed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ps: would be interested what example with sub process in different file I have overlooked. I have not found one in the activiti examples (which are very good and verbose - many thanks for that)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:03:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71349#M46198</guid>
      <dc:creator>mhw</dc:creator>
      <dc:date>2011-09-20T08:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71350#M46199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Michael for your helpful examples. I was successfully able to run the test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually my concern was how to specify the xml filename to look for subprocess definition, but now I realize that engine looks in all xml resources.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 08:24:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71350#M46199</guid>
      <dc:creator>taurus</dc:creator>
      <dc:date>2011-09-20T08:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71351#M46200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know i am very late to talk in this topic but how i can see the "called element" or subprocess in the activiti designer and activiti explorer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 08:53:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71351#M46200</guid>
      <dc:creator>amir_kourani</dc:creator>
      <dc:date>2013-06-06T08:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71352#M46201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;eum … simply xml view or the properties window … ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't quite get what you are looking for.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71352#M46201</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-06-10T14:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71353#M46202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am even later in the process. Here&amp;nbsp; an absolute beginner…want to use the eclipse designer to map our company in levels of detail, so i try to use the callActivity&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am trying with Eclipse Luna (4.4.1) and the activiti plugin 5.15 and entered the above examples from MHW&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The diagrams show fine, however i see no way of going from the calling process and then want to go to the subprocess. When i try to link the calling process to the subprocess the window is empty for selection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It also says: The important thing here is that both xml file has to be deployed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;can i do that in the eclipse pugin? i did not see any option anywhere…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your help is appreciated…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,'Hans&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 05:14:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71353#M46202</guid>
      <dc:creator>hansbak</dc:creator>
      <dc:date>2014-10-31T05:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71354#M46203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We don't have the switching back and forward between subprocess/main.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the link should work for sure, that's the whole point of call activity. You have both xmls in the same project right?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:47:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71354#M46203</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-31T15:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: subprocess definition in a separate xml</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71355#M46204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"And in the Activiti download you can find all kind of process examples in the workplace directory", you said&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where are they ? can you provide a link ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 20:48:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/subprocess-definition-in-a-separate-xml/m-p/71355#M46204</guid>
      <dc:creator>slaimankoeik</dc:creator>
      <dc:date>2016-03-30T20:48:43Z</dc:date>
    </item>
  </channel>
</rss>

