<p>Hi</p>
Ok then remove the orvosimeres$ in front of the condition or you have to import that class<br>
Nicolas<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>
I think not, because orvosimeres is the class in the package:<br>
<br>
public class orvosimeres {<br>
<div><div></div><div class="h5">}<br>
<br>
<br>
<br>
<br>
Nicolas Héron wrote:<br>
><br>
> 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 ==<br>
> "true" , vernyomas > ( 140 ) , vernyomas < ( 180 ) )<br>
> then<br>
> end<br>
><br>
> 2009/11/25 SzA84 <<a href="mailto:szepesiandras@citromail.hu">szepesiandras@citromail.hu</a>><br>
><br>
>><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<br>
>> 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 ==<br>
>> "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>
>><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>
>><br>
>><br>
>><br>
>><br>
>> --<br>
>> View this message in context:<br>
>> <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>
>><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>
><br>
><br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://old.nabble.com/GUI-help-tp26518461p26521545.html" target="_blank">http://old.nabble.com/GUI-help-tp26518461p26521545.html</a><br>
</font><div><div></div><div class="h5">Sent from the drools - user mailing list archive at Nabble.com.<br>
<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>
</div></div></blockquote></div><br>