JBoss Community

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

created by Francesco Pietrobelli in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community