Re: [rules-users] rule help

2009-11-10 Thread SzA84
Thx! -- View this message in context: http://old.nabble.com/rule-help-tp26245649p26292767.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/lis

Re: [rules-users] rule help

2009-11-08 Thread Wolfgang Laun
In addition to what Nestor has said, you'll also have to make sure your inserted facts objects contain values. You are just calling the default constructors Adattipus ertek = new Adattipus(); Mertadat mertekegyseg = new Mertadat (); Mertadat mozgas = new Mertadat ()

Re: [rules-users] rule help

2009-11-08 Thread Nestor Tarin Burriel
Hi, As first look you must add the getters and setters methods into the model classes "Adattipus" and "Mertadat". In your rule you have written "Mertadat(ertek>180, mertekegyseg=="/min",mozgas==true);" but you dont have declared the field "ertek" in the class "Mertadat". And have also care with th

[rules-users] rule help

2009-11-08 Thread SzA84
Hi I am working on a simple drools project. I have now one rule, but it not works. This is the drl: package orvosi; import orvosi.orvosimeres.Adattipus; import orvosi.orvosimeres.Mertadat; rule "Your First Rule" when Adattipus(ertek="heart_rate");