[rules-users] GUI help

Nicolas Héron nicolas.heron.java at gmail.com
Wed Nov 25 15:43:36 EST 2009


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20091125/c7737874/attachment.html 


More information about the rules-users mailing list