<?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: Parallel gateway does not activate in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35717#M18782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it to work by adding a some 'do nothing' servicetasks when there is no need for an execution instance for e.g. between eg1-&amp;gt;egx-&amp;gt;pg2.&amp;nbsp; This should not be necessary though. Would it not be possible to count the execution instance of task2 when applying that rule (#of flows=#of executions) for activating paralell gateway?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Feb 2011 19:38:24 GMT</pubDate>
    <dc:creator>mahavirj</dc:creator>
    <dc:date>2011-02-21T19:38:24Z</dc:date>
    <item>
      <title>Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35712#M18777</link>
      <description>Since &amp;lt;inclusiveGateway&amp;gt; is not supported as yet, a combination of divergent parallelGateway + exclusiveGateway has to be used to get that functionality. In one specific scenario, however, a convergent parallelGateway does not activate. I could reproduce this issue by adding this scenario to t</description>
      <pubDate>Sun, 20 Feb 2011 02:55:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35712#M18777</guid>
      <dc:creator>mahavirj</dc:creator>
      <dc:date>2011-02-20T02:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35713#M18778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not quite following what you are trying to acomplish here. Could you provide a visual diagram to make it more clear?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 08:12:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35713#M18778</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-02-21T08:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35714#M18779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's the subprocess flow. PG = parallel gateway, EG = exclusive gateway.&amp;nbsp; The issue is PG2 does not activate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[attachment=0]Update External Systems.jpg[/attachment]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:47:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35714#M18779</guid>
      <dc:creator>mahavirj</dc:creator>
      <dc:date>2011-02-21T14:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35715#M18780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The parallelGW will activate only if the number of incoming executions is equal to the number of incoming sequence flow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this case, you have 4 incoming sequence flow, but PG2 can maximum receive 3 executions in the best case (if I'm not mistaken). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So the parallel gateway will indeed never activate. Placing a converging exclusive gateway in between should do the trick, I think.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 14:54:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35715#M18780</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-02-21T14:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35716#M18781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, if I change PG2 to an exclusive gateway, say EGX, it works. However, according to BPMN2, a converging exclusive gateway does not synchronize flows, which means in this case it will always get triggered since task1 is always being completed regardless of what happens in EG2.&amp;nbsp; i.e. I don't want the subprocess to end just based on task1 completion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, if I leave task1-&amp;gt;PG2 flow untouched and converge the other 4 flows to EGX and connect EGX to PG2 it works conditionally. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i.e. if EG1 evaluates to true EG1-&amp;gt;EGX-&amp;gt;PG2 does not work. But, if EG1 evaluates to false and EG2 evaluates to true, it works since the number of flows = number of executions @ PG2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 15:45:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35716#M18781</guid>
      <dc:creator>mahavirj</dc:creator>
      <dc:date>2011-02-21T15:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35717#M18782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Got it to work by adding a some 'do nothing' servicetasks when there is no need for an execution instance for e.g. between eg1-&amp;gt;egx-&amp;gt;pg2.&amp;nbsp; This should not be necessary though. Would it not be possible to count the execution instance of task2 when applying that rule (#of flows=#of executions) for activating paralell gateway?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Feb 2011 19:38:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35717#M18782</guid>
      <dc:creator>mahavirj</dc:creator>
      <dc:date>2011-02-21T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35718#M18783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you attach your process xml, because it is hard to follow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Would it not be possible to count the execution instance of task2 when applying that rule (#of flows=#of executions) for activating paralell gateway&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not following here, why would task2 have influence on the count of the parallel gateway?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 09:14:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35718#M18783</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-02-23T09:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel gateway does not activate</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35719#M18784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In the diagram, there are 5 inflows to parallel gateway PG2.&amp;nbsp; Three of them have executions (task1, task4, task3) and two don't (EG1-to-PG2 and EG2-to-PG2).&amp;nbsp; Since the number of executions != number of flow,PG2 does not activate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, this is a valid requirement i.e. there is really nothing to do in EG1-to-PG2 and EG2-to-PG2.&amp;nbsp; Changing PG2 to an exclusive gateway will not help because completion of task1 will always activate it i.e. it wont wait for the result of the other 4 flows&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the only way out is leave PG2 as a parallel gateway and define a do nothing &amp;lt;servicetask&amp;gt; for each of the EG1-to-PG2 and EG2-to-PG2 flows. This will make the number of executions == number of flows in all cases and will activate PG2 correctly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, these do-nothing &amp;lt;servicetask&amp;gt; are unnecessary. It should just be a matter of counting the # of executions…that's why i was suggesting to use task2 execution-id as the execution token for the flows which do not have an execution (in this case EG1-to-PG2 and EG2-to-PG2) i.e task2 is the preceding task for those do-nothing flows &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The subprocess XML was in the first post. However, let me know if you still need the entire process xml and the unit tests&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 16:01:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/parallel-gateway-does-not-activate/m-p/35719#M18784</guid>
      <dc:creator>mahavirj</dc:creator>
      <dc:date>2011-02-23T16:01:57Z</dc:date>
    </item>
  </channel>
</rss>

