[jboss-user] [jBPM] - Re: diverging gateway... what's wrong?

Francesco Pietrobelli do-not-reply at jboss.com
Tue Jun 21 06:40:31 EDT 2011


Francesco Pietrobelli [http://community.jboss.org/people/francesco.pietrobelli] created the discussion

"Re: diverging gateway... what's wrong?"

To view the discussion, visit: http://community.jboss.org/message/611154#611154

--------------------------------------------------------------
I think that the gateway's constraint must be only one statement.
Also you can access to the process variable directly.

try this:
to node hotel: return prenota_hotel==true;
to node hotel: return prenota_bb==true;

Make sure that at least one of the two constraints will evaluate to true, otherwise you will got a RuntimeException
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110621/952786e3/attachment.html 


More information about the jboss-user mailing list