JBoss Community

Re: How to set the condition on a XOR Gateway using guvnor web designer

created by Esteban Aliverti in jBPM - View the full discussion

In web Designer, the conditions are not set in the gateway but in each of its outgoing flows.

What you need to do it to click on one of the outgoing flows, and in its "Conditional Expression" attribute write:

 

return approval == true;

 

Make sure that "Contitional Expression Language" is set to 'java'

 

Repeat the steps for the second flow.

Reply to this message by going to Community

Start a new discussion in jBPM at Community