I thing it is because you use twice the same variable ovosimeres
your rule should be
Rule "grafikus"
       dialect "mvel"
       when
               orvosimeres:Adattipus( ertek == "/heart_rate" )
               orvosimeres2:Mertadat( mertekegyseg == "/min" , mozgas == "true" , vernyomas > ( 140 ) , vernyomas < ( 180 ) )
       then
end

2009/11/25 SzA84 <szepesiandras@citromail.hu>

Hi!

I have some questions about the guided editor.

I try to build a rule in the guided editor. I added some conditions and this
is the generated DRL:

Rule "grafikus"
       dialect "mvel"
       when
               orvosimeres$Adattipus( ertek == "/heart_rate" )
               orvosimeres$Mertadat( mertekegyseg == "/min" , mozgas == "true" ,
vernyomas > ( 140 ) , vernyomas < ( 180 ) )
       then
end

My imports in the rule.package file are the following:
package orvosi;
import orvosi.orvosimeres.Adattipus;
import orvosi.orvosimeres.Mertadat;

And I have this error message: unknown:4:2 Unexpected token 'orvosimeres'       .

So that is my first question. What can cause the problem?
And my other question is, how can I execute a rule, that was made in the
guided editor?

Thanks in advance for the reply!




--
View this message in context: http://old.nabble.com/GUI-help-tp26518461p26518461.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/listinfo/rules-users