[jboss-user] [jBPM] - Re: jbpm 5.2 support for XOR gateway and complex gateway.

Mauricio Salatino do-not-reply at jboss.com
Mon Dec 26 08:21:13 EST 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: jbpm 5.2 support for XOR gateway and complex gateway."

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

--------------------------------------------------------------
if you want to return true, just do
return true;
and not return result = true;
If you want to assign the variable result, it must be defined in your process as a process variable and then remove the 
return.. because "return result = true" will return always true as the result of the asignation. Unless you want to return the evaluation of the variable with:
return result == true;
Cheers
--------------------------------------------------------------

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

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/20111226/ba2136eb/attachment-0001.html 


More information about the jboss-user mailing list