[rules-users] RIGHT_PAREN

Raffaele Viola raffovi at gmail.com
Fri Sep 21 09:19:57 EDT 2007


Hi all,

can some one help me????? I don't understand why this drl

package org.drools.examples.decisiontable;
#generated from Decision Table
import com.RuleEngine.ControlloreNodo.*;
import com.RuleEngine.ControlloreNodo.OggettiControllo.Azione;
import com.RuleEngine.ControlloreNodo.OggettiStato.StatoNodo;
global StatoNodo statoNodo;
global Azione azione;
function controllo(String a)
{
 return statoNodovariabiliInOR(a);
}
#From row number: 13
rule "Pricing bracket_13"

    when
        controllo("18")
    then
        azione.setNomeAzione("ciao");
end

Gives me this type of error:  [13,12]: unknown:13:12 mismatched token:
[@102,476:479='"18"',<20>,13:12]; expecting type RIGHT_PAREN


Thanks,
Raffo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070921/7cf14be2/attachment.html 


More information about the rules-users mailing list