<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Mauricio,<div><br></div><div>If an an AND converging gateway has n incoming branches, it expects that all incoming have been triggered and when it is so - it calls triggerCompleted (so that the rest of the process can continue)</div><div><br></div><div>In case of OR converging, lets assume a process</div><div><br></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;branch1&nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; / &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \</div><div>OR (diverging) - branch 2 - &nbsp;OR (converging)</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; \ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; branch 3</div><div><br></div><div>now any of branches may be triggered, OR converging has to wait for all branches that were actually triggered (say branch1 and branch 3). But the problem is it does not know which branches were triggered (for AND it was easier - just wait for all branches to be triggered). here in case of OR - we don't know to continue to wait for branch 2 or not</div><div><br></div><div>Regards, Anurag</div><div><br><div><div>On Aug 12, 2011, at 1:18 AM, Mauricio Salatino wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi Antoine,</div>So do you want to implement and OR or and AND converging gateway, by the description it looks like and AND converging gateway. Is there any differences with the AND converging gateway that is currently implemented in jBPM5?&nbsp;<div>
<br></div><div>Cheers<br><br><div class="gmail_quote">On Thu, Aug 11, 2011 at 4:46 PM, Antoine Toulme <span dir="ltr">&lt;<a href="mailto:atoulme@intalio.com">atoulme@intalio.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Mauricio, that's an OR converging gateway.<div><div></div><div class="h5"><div><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 12:42 AM, Mauricio Salatino <span dir="ltr">&lt;<a href="mailto:salaboy@gmail.com" target="_blank">salaboy@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys.. that's the AND Converging gateway right?<div>The AND waits for all the branches that are converging before propagate.</div>

<div>If that's not what you are looking for it should be very easy to implement.. and probably you can model that with the complex converge gateway.</div>
<div><br></div><div>Cheers.<br><br><div class="gmail_quote"><div><div></div><div>On Thu, Aug 11, 2011 at 4:33 PM, Antoine Toulme <span dir="ltr">&lt;<a href="mailto:atoulme@intalio.com" target="_blank">atoulme@intalio.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
Broadcasting to list in case other committers have an insight ?<div><br></div><div>Antoine<br><br><div class="gmail_quote">On Thu, Aug 11, 2011 at 12:39 PM, Anurag Aggarwal <span dir="ltr">&lt;<a href="mailto:anurag@intalio.com" target="_blank">anurag@intalio.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Kris,<br>
<br>
How are you<br>
<br>
Recently one of our requirements came up for converging IOR gateway, this is the gateway which according to bpmn specification syncs up on all upstream tokens and propagates token when no upstream token is left<br>
<br>
Currently jbpm does not support this construct, I was wondering if jbom has this in roadmap and if you can give some advice on difficulty and state &nbsp;of implementation<br>
<br>
Regards,<br>
<font color="#888888">Anurag</font></blockquote></div><br></div>
<br></div></div>_______________________________________________<br>
jbpm-dev mailing list<br>
<a href="mailto:jbpm-dev@lists.jboss.org" target="_blank">jbpm-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jbpm-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jbpm-dev</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>&nbsp;- CTO @ <a href="http://www.plugtree.com/" target="_blank">http://www.plugtree.com</a>&nbsp; <br>&nbsp;- MyJourney @ <a href="http://salaboy.wordpress.com/" target="_blank">http://salaboy.wordpress.com</a><br>


&nbsp;- Co-Founder @ <a href="http://www.jbug.com.ar/" target="_blank">http://www.jbug.com.ar</a><br>&nbsp;<br>&nbsp;- Salatino "Salaboy" Mauricio -<br>
</font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;- CTO @ <a href="http://www.plugtree.com/">http://www.plugtree.com</a>&nbsp; <br>&nbsp;- MyJourney @ <a href="http://salaboy.wordpress.com/">http://salaboy.wordpress.com</a><br>
&nbsp;- Co-Founder @ <a href="http://www.jbug.com.ar/">http://www.jbug.com.ar</a><br>&nbsp;<br>&nbsp;- Salatino "Salaboy" Mauricio -<br>
</div>
</blockquote></div><br></div></body></html>