I thing it is because you use twice the same variable ovosimeres<br>your rule should be<br>Rule "grafikus"<br>
dialect "mvel"<br>
when<br>
orvosimeres:Adattipus( ertek == "/heart_rate" )<br>
orvosimeres2:Mertadat( mertekegyseg == "/min" , mozgas == "true" , vernyomas > ( 140 ) , vernyomas < ( 180 ) )<br>
then<br>
end<br><br><div class="gmail_quote">2009/11/25 SzA84 <span dir="ltr"><<a href="mailto:szepesiandras@citromail.hu">szepesiandras@citromail.hu</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi!<br>
<br>
I have some questions about the guided editor.<br>
<br>
I try to build a rule in the guided editor. I added some conditions and this<br>
is the generated DRL:<br>
<br>
Rule "grafikus"<br>
dialect "mvel"<br>
when<br>
orvosimeres$Adattipus( ertek == "/heart_rate" )<br>
orvosimeres$Mertadat( mertekegyseg == "/min" , mozgas == "true" ,<br>
vernyomas > ( 140 ) , vernyomas < ( 180 ) )<br>
then<br>
end<br>
<br>
My imports in the rule.package file are the following:<br>
package orvosi;<br>
import orvosi.orvosimeres.Adattipus;<br>
import orvosi.orvosimeres.Mertadat;<br>
<br>
And I have this error message: unknown:4:2 Unexpected token 'orvosimeres' .<br>
<br>
So that is my first question. What can cause the problem?<br>
And my other question is, how can I execute a rule, that was made in the<br>
guided editor?<br>
<br>
Thanks in advance for the reply!<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://old.nabble.com/GUI-help-tp26518461p26518461.html" target="_blank">http://old.nabble.com/GUI-help-tp26518461p26518461.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>