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&...]