[jboss-dev-forums] [jBPM Development] - Re: [jBPM5.1] How to use drools rule in constraints of a gateway

Diorbert Pereira do-not-reply at jboss.com
Wed Feb 22 16:10:33 EST 2012


Diorbert Pereira [https://community.jboss.org/people/diorbert] created the discussion

"Re: [jBPM5.1] How to use drools rule in constraints of a gateway"

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

--------------------------------------------------------------
To use a rule constraint in a gateway you must think in LHS of a drools rule, i.e, the constraint is a drools condition, an example:

There is a class "Person" with a attribute "age", and we would like know if a person is majority, then... 

-> First Constraint 
Person(age >= 18)

-> Second Constraint
Person(age < 18)

Excuse my english.
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120222/d79fca05/attachment.html 


More information about the jboss-dev-forums mailing list