<?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: Inclusive Gateway Support? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56344#M34043</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's fine on the time frame.&amp;nbsp; I spent a little time and put together some patches for adding Inclusive Gateway behavior to the designer.&amp;nbsp; This is my first experience working with the designer, but I think most things went smoothly.&amp;nbsp; I wasn't able to test the code, though, so would appreciate your help in testing it after applying the patch.&amp;nbsp; The main class needing review/testing is AddInclusiveGatewayFeature in the org.activiti.designer.gui project, I drew the circle in the center of the polygon to the best of my knowledge, but haven't worked with Graphiti before and can't be sure that it worked correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've put the patches in ACT-890: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-890" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-890&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Aug 2011 21:19:47 GMT</pubDate>
    <dc:creator>tidetom</dc:creator>
    <dc:date>2011-08-15T21:19:47Z</dc:date>
    <item>
      <title>Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56328#M34027</link>
      <description>Hello,I was wondering if anyone has an idea of when the Inclusive Gateway will be available for use in Activiti?&amp;nbsp; Currently we can use a Parallel Gateway, however any conditionExpressions placed on outgoing sequenceFlows from the Parallel Gateway are not evaluated.&amp;nbsp; This forces us to put an Exclusiv</description>
      <pubDate>Wed, 20 Jul 2011 08:18:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56328#M34027</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-20T08:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56329#M34028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We don't have a timeframe for this feature. I do understand your use case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it something you would be willing to contribute? That would speed things up.&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>Thu, 21 Jul 2011 07:30:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56329#M34028</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-21T07:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56330#M34029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I might be able to help contribute on this feature, but I would need some help getting pointed in the right direction.&amp;nbsp; I have yet to dabble too much into the Activiti source code.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you or someone else on the team could point me at the various places where the exclusive gateway is added and used inside Activiti, that would help me get started on the inclusive gateway behavior.&amp;nbsp; Also, it would be helpful to know where the logic itself to check the conditional expression on the sequence flow gets evaluated.&amp;nbsp; I'd also be interested in how to get the Inclusive Gateway added as an element in the Activiti Designer plugin for Eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can supply this information, I'll take a look and get an idea of the scope of the effort.&amp;nbsp; Out of curiosity, do you have an idea for the scope of the effort off the top of your head?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2011 17:23:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56330#M34029</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-21T17:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56331#M34030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Feel free to contact me if you need any help on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The BpmnParse class is the one that parses the BPMN 2.0 XML file. So there you should add the inclusive gateway XML portion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then in the org.activiti.engine.impl.bpmn.behavior package you can find the various implementation classes, including the ExclusiveGatewayActivityBehavior and the ParallelGatewayActivityBehavior. The Inclusive gateway is a combination of both these gateways so the challenge would be to combine them into the new InclusiveGatewayActivityBehavior class.&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>Fri, 22 Jul 2011 06:57:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56331#M34030</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-22T06:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56332#M34031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Then in the org.activiti.engine.impl.bpmn.behavior package you can find the various implementation classes, including the ExclusiveGatewayActivityBehavior and the ParallelGatewayActivityBehavior. The Inclusive gateway is a combination of both these gateways so the challenge would be to combine them into the new InclusiveGatewayActivityBehavior class.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Or see if a GatewayActivityBehaviour base class can be created of which they all inherit common stuff (I hate duplicate code ;-))&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2011 08:00:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56332#M34031</guid>
      <dc:creator>ronald_van_kuij</dc:creator>
      <dc:date>2011-07-22T08:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56333#M34032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks guys, I'll take a look and get back to you.&amp;nbsp; I also requested committer status, however haven't received a response yet … though probably will need some time to take a look at the existing code and make changes before it's needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 05:32:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56333#M34032</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-23T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56334#M34033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great. If you agree I think it's better to submit a diff patch to the JIRA issue and we'll take a second look at it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we can submit the patch or you can do it yourself if that's your preference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Jul 2011 10:41:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56334#M34033</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-23T10:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56335#M34034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry for my delayed reply … yes, that'd be fine to submit a patch.&amp;nbsp; I'd prefer to get a code reviewer on this anyways &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 21:55:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56335#M34034</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-26T21:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56336#M34035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've done some initial investigation into the Inclusive-OR behavior, and was wondering if you could double-check me on this…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks to me like the behavior for implementing Inclusive-OR actually already exists.&amp;nbsp; If you take a look at org/activiti/engine/impl/bpmn/behavior/ExclusiveGatewayActivityBehavior.java, it has the following inheritance tree and only overrides the "leave" method of the parent:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;+ ExclusiveGatewayActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; + GatewayActivityBehavior (abstract - no implementation)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FlowNodeActivityBehavior&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - delegates implementation to org/activiti/engine/impl/bpmn/behavior/BpmnActivityBehavior.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The implementation of FlowNodeActivityBehavior looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;/**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Default way of leaving a BPMN 2.0 activity: evaluate the conditions on the&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * outgoing sequence flow and take those that evaluate to true.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; protected void leave(ActivityExecution execution) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bpmnActivityBehavior.performDefaultOutgoingBehavior(execution);&lt;BR /&gt;&amp;nbsp; }&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you take a look at the implementation of BpmnActivityBehavior#performDefaultOutgoingBehavior, it actually implements the logic that one would expect of an Inclusive-OR … it checks the condition on each outgoing transition.&amp;nbsp; If the condition evaluates to true (or if conditions are disabled) then transition will be added to the list of transitions that will be executed.&amp;nbsp; If there are multiple valid transitions, all transitions will be executed (similar to the Parallel Gateway implementation).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As it looks to me, the implementation of InclusiveGatewayActivityBehavior could simply extend from GatewayActivityBehavior and leave the implementation as-is (with no overrides).&amp;nbsp; The purpose of creating the extension would just be to support future change.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, the InclusiveGatewayActivityBehavior would be called from BpmnParse.java (as you mention above … this would need to be added), and everything would seem to be all set (with the exception of the designer piece).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only further question I would have would be whether it makes sense for InclusiveGatewayActivityBehavior to have an implementation of "leaveIgnoreConditions".&amp;nbsp; I suppose ExclusiveGatewayActivityBehavior does not override this implementation, so InclusiveGatewayActivityBehavior wouldn't need to either, however I'd leave that to the experts to determine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 06:32:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56336#M34035</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-27T06:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56337#M34036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Also, if you could point me at the JIRA item, I have a patch that includes a fix under this assumption.&amp;nbsp; I've also patched the ProcessDiagramCanvas and ProcessDiagramGenerator to programmatically draw the the inclusive gateway per the BPMN spec.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jul 2011 07:40:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56337#M34036</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-27T07:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56338#M34037</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;I think your description of the inclusive gatway is correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you write unit tests to test this implementation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create the JIRA issue yourself and attach a path if you have one available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:07:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56338#M34037</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-28T15:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56339#M34038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll be working on some unit tests in the next couple of days.&amp;nbsp; I was also planning on looking into the designer piece of inclusive gateway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created a JIRA issue to track the effort: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-890" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-890&lt;/A&gt;&lt;SPAN&gt; and submit patches against.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:56:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56339#M34038</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-07-28T15:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56340#M34039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've submitted a patch to &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-890" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-890&lt;/A&gt;&lt;SPAN&gt; which contains support for Inclusive Gateway in the Activiti engine.&amp;nbsp; I did not do any code for the designer, however it would seem that someone has already started on an Inclusive Gateway for the designer based upon the designer source code.&amp;nbsp; If you need me to look into that further, let me know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did end up adding some specific behavior to the Inclusive Gateway Behavior because the error handling in the default code simply ended execution when a path couldn't be found after logging a FINE level log message.&amp;nbsp; I wanted to be consistent with Exclusive Gateway Behavior, and instead fail the execution with an ActivitiException.&amp;nbsp; You'll see, however, that I've kept existing functionality consistent with the implementation for anyone using the old code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: I used the Activiti project's specific Eclipse code formatter, and unfortunately some of the old code had not been formatted with it … so the diff is a little bit unwieldy for some of the files.&amp;nbsp; As long as it's applied soon, it shouldn't cause any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how the integration goes…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Aug 2011 21:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56340#M34039</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-08-07T21:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56341#M34040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already had a quick look at the patch and it's looking good. We'll be looking at it more thoroughly today and update the JIRA.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you see that someone is working on Inclusive gateway support in the Designer?&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>Mon, 08 Aug 2011 07:07:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56341#M34040</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-08-08T07:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56342#M34041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I must have run my query incorrectly (to find "Inclusive*" code inside the designer project).&amp;nbsp; Re-running the query now I don't see any code in the designer for Inclusive Gateway behavior.&amp;nbsp; Sorry about that — probably had started the query from the wrong location.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can take a look into the designer piece if you'd like, but likely will not be able to start until next week or the week after due to schedule constraints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know what you think…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 21:28:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56342#M34041</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-08-09T21:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56343#M34042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately we won't be able to include the inclusive gateway in Activiti 5.7 because we already have a code freeze.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But we'll make sure it's included in the next release (5.8). Also, before the end of this month it'll be included in the trunk, so you can already use the source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you'll be able to look into the Designer support that's great.&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>Wed, 10 Aug 2011 20:58:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56343#M34042</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-08-10T20:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56344#M34043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tijs,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's fine on the time frame.&amp;nbsp; I spent a little time and put together some patches for adding Inclusive Gateway behavior to the designer.&amp;nbsp; This is my first experience working with the designer, but I think most things went smoothly.&amp;nbsp; I wasn't able to test the code, though, so would appreciate your help in testing it after applying the patch.&amp;nbsp; The main class needing review/testing is AddInclusiveGatewayFeature in the org.activiti.designer.gui project, I drew the circle in the center of the polygon to the best of my knowledge, but haven't worked with Graphiti before and can't be sure that it worked correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've put the patches in ACT-890: &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-890" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-890&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know how it goes…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Aug 2011 21:19:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56344#M34043</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-08-15T21:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56345#M34044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took a look at your patch for the inclusive gateway as committed by Tijs. It's however hard to see how the implementation matches with what the spec says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;The Inclusive Gateway is activated if&lt;BR /&gt;• At least one incoming Sequence Flow has at least one token and&lt;BR /&gt;• For every directed path formed by sequence flow that&lt;BR /&gt;- starts with a Sequence Flow f of the diagram that has a token,&lt;BR /&gt;- ends with an incoming Sequence Flow of the inclusive gateway that has no token, and&lt;BR /&gt;- does not visit the Inclusive Gateway,&lt;BR /&gt;• There is also a directed path formed by Sequence Flow that - starts with ,&lt;BR /&gt;- ends with an incoming Sequence Flow of the inclusive gateway that has a token, and&lt;BR /&gt;- does not visit the Inclusive Gateway.&lt;BR /&gt;Upon execution, a token is consumed from each incoming Sequence Flow that has a token. A token will be produced on some of the outgoing Sequence Flows.&lt;BR /&gt;In order to determine the outgoing Sequence Flows that receive a token, all conditions on the outgoing Sequence Flows are evaluated. The eval- uation does not have to respect a certain order. For every condition which evaluates to true, a token MUST be passed on the respective Sequence Flow.&lt;BR /&gt;If and only if none of the conditions evaluates to true, the token is passed on the default Sequence Flow.&lt;BR /&gt;In case all conditions evaluate to false and a default flow has not been specified, the Inclusive Gateway throws an exception.&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The last part of the spec is satisfied by changing the bpmnactivitybehavior (by throwing an exception).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I do not see how the tokens are checked on reachability of the gateway. Can you shed some light on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 16:07:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56345#M34044</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-08-26T16:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56346#M34045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joram,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for looking at the code.&amp;nbsp; As mentioned in an earlier post, I'm very new to the Activiti source code (first code check-in) and think a code review is very necessary to make sure I didn't miss anything. (in other words, I claim ignorance&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I used ExclusiveGateway as my template, and based upon the specification description below, I think I handled all of this section of the specification:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Upon execution, a token is consumed from each incoming Sequence Flow that has a token. A token will be produced on some of the outgoing Sequence Flows.&amp;nbsp; In order to determine the outgoing Sequence Flows that receive a token, all conditions on the outgoing Sequence Flows are evaluated. The evaluation does not have to respect a certain order. For every condition which evaluates to true, a token MUST be passed on the respective Sequence Flow.&lt;BR /&gt;If and only if none of the conditions evaluates to true, the token is passed on the default Sequence Flow.&lt;BR /&gt;In case all conditions evaluate to false and a default flow has not been specified, the Inclusive Gateway throws an exception.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I did not look on the "reachability of the gateway", as you mention, probably because it's not handled by ExclusiveGateway (unless I missed it).&amp;nbsp; In the source, it looked like reachability was handled somewhere outside of the "behavior".&amp;nbsp; Regardless, based on the specification, I would expect that the following segment still needs to be verified / fixed before the release of inclusive gateway by someone like yourself that has more experience in the Activiti source code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The Inclusive Gateway is activated if&lt;BR /&gt;1. At least one incoming Sequence Flow has at least one token and&lt;BR /&gt;&amp;nbsp;&amp;nbsp; a. For every directed path formed by sequence flow that starts with a Sequence Flow f &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; of the diagram that has a token, ends with an incoming Sequence Flow of the inclusive &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gateway that has no token, and does not visit the Inclusive Gateway,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; b. There is also a directed path formed by Sequence Flow that starts with , ends with &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; an incoming Sequence Flow of the inclusive gateway that has a token, and does not &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visit the Inclusive Gateway.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I'd be interested to know where this code goes, and if you can point me in the right direction as to where I can evaluate the incoming sequence flows, I'd be more than willing to look into a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 17:40:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56346#M34045</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-08-26T17:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Inclusive Gateway Support?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56347#M34046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see that my implementation was very simplistic and only works for "downstream" inclusive behavior.&amp;nbsp; Activation does not work properly when handling upstream sequence flows after reading more on the inclusive gateway behavior here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.itu.dk/people/maca/papers/CCH10.pdf" rel="nofollow noopener noreferrer"&gt;http://www.itu.dk/people/maca/papers/CCH10.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll likely need some help with implementing the above behavior, as I simply don't know the Activiti APIs well enough to look upstream for potential token-based activation of sequence flows, and to protect against race-conditions in the activation of the inclusive gateway.&amp;nbsp; Willing to learn though if anyone can point me in the right direction…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the confusion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 19:46:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/inclusive-gateway-support/m-p/56347#M34046</guid>
      <dc:creator>tidetom</dc:creator>
      <dc:date>2011-08-26T19:46:12Z</dc:date>
    </item>
  </channel>
</rss>

