[jboss-user] [jBPM] - Re: What does multiple "lanes" mean on some of the examples provided?

Esteban Aliverti do-not-reply at jboss.com
Thu Feb 16 17:29:59 EST 2012


Esteban Aliverti [https://community.jboss.org/people/eaa] created the discussion

"Re: What does multiple "lanes" mean on some of the examples provided?"

To view the discussion, visit: https://community.jboss.org/message/717324#717324

--------------------------------------------------------------
> *Why there are two lanes? One process, but two lanes. How they are supposed to work with each other? Are they at all*?
In BPMN2, you can define Starting Catch Events that you can use to create different paths of execution inside a single process. In this case, you have to signal the "event" node if you want to start the second path. You can signal the process from outside (ksession.signalEvent(...)) or from inside a node of the same process (using kcontext) or even using a Throw Event Node. 
> The "Print something 2" is never reached.
Since you are never completing the "User Task" Node, the process is "waiting" there. That is why "Printing Something 2" is never executed. Please read the documentation about User Tasks in order to understand how to complete them.
> More interestingly, the test is evaluated as "completed", despite the process still did not finished the "first line".
In your process you have 2 "End Nodes". Both nodes are "Terminating End Nodes" meaning that the first of those nodes that is executed with end the entire process. That is the expected behavior. If you want, or need, you can create a non terminating End Node (it is configurable through a property). In that case, only the current flow is going to be terminated, but the process is not.

Best Regards, 
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/717324#717324]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120216/7a953f21/attachment-0001.html 


More information about the jboss-user mailing list