[jbpm-dev] Re- IOR gateway

Anurag Aggarwal anurag at intalio.com
Fri Aug 12 04:47:48 EDT 2011


Hi Mauricio,

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)

In case of OR converging, lets assume a process

                        branch1 
                     /               \
OR (diverging) - branch 2 -  OR (converging)
                     \               /
                       branch 3

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

Regards, Anurag

On Aug 12, 2011, at 1:18 AM, Mauricio Salatino wrote:

> Hi Antoine,
> 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? 
> 
> Cheers
> 
> On Thu, Aug 11, 2011 at 4:46 PM, Antoine Toulme <atoulme at intalio.com> wrote:
> Hi Mauricio, that's an OR converging gateway.
> 
> On Fri, Aug 12, 2011 at 12:42 AM, Mauricio Salatino <salaboy at gmail.com> wrote:
> Hi guys.. that's the AND Converging gateway right?
> The AND waits for all the branches that are converging before propagate.
> 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.
> 
> Cheers.
> 
> On Thu, Aug 11, 2011 at 4:33 PM, Antoine Toulme <atoulme at intalio.com> wrote:
> Broadcasting to list in case other committers have an insight ?
> 
> Antoine
> 
> On Thu, Aug 11, 2011 at 12:39 PM, Anurag Aggarwal <anurag at intalio.com> wrote:
> Hi Kris,
> 
> How are you
> 
> 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
> 
> 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  of implementation
> 
> Regards,
> Anurag
> 
> 
> _______________________________________________
> jbpm-dev mailing list
> jbpm-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbpm-dev
> 
> 
> 
> 
> -- 
>  - CTO @ http://www.plugtree.com  
>  - MyJourney @ http://salaboy.wordpress.com
>  - Co-Founder @ http://www.jbug.com.ar
>  
>  - Salatino "Salaboy" Mauricio -
> 
> 
> 
> 
> -- 
>  - CTO @ http://www.plugtree.com  
>  - MyJourney @ http://salaboy.wordpress.com
>  - Co-Founder @ http://www.jbug.com.ar
>  
>  - Salatino "Salaboy" Mauricio -

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbpm-dev/attachments/20110812/f3f51c7c/attachment.html 


More information about the jbpm-dev mailing list