[rules-users] Drools Guvnor : Rule validation fails - Not finding any of the fields from the Fact

rjr201 rich.j.riley at gmail.com
Tue Mar 4 04:28:00 EST 2014


I don't know for certain but I think it is necessary to have getters and
setters on all attributes you want drools to be able to access.

What version of Guvnor are you using? 

In 5.3 you should be able to go to the "Edit" tab of the package and see
your classes under 'imported types'.

To see if your attributes are being picked up, you could create a rule using
the guided editor, add a condition (select one of your classes from the list
provided), and then if you click on the this new condition it should give
you a drop down box of the fields you can add as restrictions (If the list
is empty you know it's not picking up on your attributes).

Hope that's some sort of help. 

  



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-Rule-validation-fails-Not-finding-any-of-the-fields-from-the-Fact-tp4028472p4028481.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list