<?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: AND and OR for parallel tasks in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176088#M129218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Aurelien, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you have found both Exclusive and Inclusive&amp;nbsp; (previously known as OR) Merges will fire repeatedly each time one of the incoming flows is received. The difference is that on the downstream side the Exclusive one will select just one out-going sequence flow. In your case you only have one outgoing flow so they will behave the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need an Exclusive Event-Based gateway after 'Morning' this will allow both Hello and Meeting as options and whichever occurs first will cause the other to be destroyed. Downstream you will need an Exclusive / Inclusive (not Parallel) merge before 'Afternoon'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an example in the user guide here: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#bpmnEventbasedGateway" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#bpmnEventbasedGateway&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Nov 2014 11:43:49 GMT</pubDate>
    <dc:creator>tstephen</dc:creator>
    <dc:date>2014-11-06T11:43:49Z</dc:date>
    <item>
      <title>AND and OR for parallel tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176086#M129216</link>
      <description>Hello,I am testing different kinds of workflows, and I have a problem when I have parallel tasks.For example, I created a workflow with 2 parallel gateways, a first one for the fork and the second one for joining. This one is ok, I can only go to the task after the parallel gateway, only when the 2</description>
      <pubDate>Wed, 05 Nov 2014 16:56:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176086#M129216</guid>
      <dc:creator>aurelienpel</dc:creator>
      <dc:date>2014-11-05T16:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR for parallel tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176087#M129217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is my example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I would like is, to go to "afternoon" task, I don't need to wait for "coffee" and "work" completed, only one is necessary, and the second one is like destroyed. But I don't know which gateway allows that. An exclusive GT will let a task continue, but the second one will be able to continue also .. Or, do I have to add a particular condition ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks !&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aurelien&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 10:55:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176087#M129217</guid>
      <dc:creator>aurelienpel</dc:creator>
      <dc:date>2014-11-06T10:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR for parallel tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176088#M129218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Aurelien, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As you have found both Exclusive and Inclusive&amp;nbsp; (previously known as OR) Merges will fire repeatedly each time one of the incoming flows is received. The difference is that on the downstream side the Exclusive one will select just one out-going sequence flow. In your case you only have one outgoing flow so they will behave the same. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need an Exclusive Event-Based gateway after 'Morning' this will allow both Hello and Meeting as options and whichever occurs first will cause the other to be destroyed. Downstream you will need an Exclusive / Inclusive (not Parallel) merge before 'Afternoon'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is an example in the user guide here: &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#bpmnEventbasedGateway" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#bpmnEventbasedGateway&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 11:43:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176088#M129218</guid>
      <dc:creator>tstephen</dc:creator>
      <dc:date>2014-11-06T11:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR for parallel tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176089#M129219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot for your help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;According to your help and the link of the user guide, I modified my workflow. You can find it attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it seems like I forgot something because when I complete the task 'morning', I stay at the gateway, but don't go to the 2 following tasks 'meeting and 'hello'. Did I forget a condition ? Maybe on the sequence flows, but I didn't see one in the example of the user guide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I retrieve all tasks for this instance, I can see that 'morning' is completed, and visible in historic, but the 2 following are not created..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, in your opinion, is it a correct workflow for my case ? To remind it, I would like to do a OR, so go to the task 'night' only by completing either 'coffee' or 'work' . the other task will be like destroyed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Aurelien&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 15:48:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176089#M129219</guid>
      <dc:creator>aurelienpel</dc:creator>
      <dc:date>2014-11-06T15:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: AND and OR for parallel tasks</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176090#M129220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If i read your process correctly, after the 'morning' task, you will have two intermediateCatchEvents active. Your process is waiting in them to continue.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 11:07:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/and-and-or-for-parallel-tasks/m-p/176090#M129220</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-11-10T11:07:18Z</dc:date>
    </item>
  </channel>
</rss>

