[rules-users] Writing decision tables without eclipse errors

fraction8 b480906 at uggsrock.com
Thu Jan 14 12:53:43 EST 2010


I'm trying to use drools with very simple decision table. My first target is
to rewrite this working drl

global org.jbpm.jpdl.internal.rules.Outcome outcome;
global test.jbpm.vrk.Claim claim;

rule "Rule 01" 
    when
        eval( claim.isDefraudationSuspect() )
        eval( claim.isSimpleClaim() )
    then
    	outcome.set("tt"); 
end

to decision table (XLS) after many trays i haven't got it running (even when
I made it more simple then this drl), I always got Error information from
Eclipse. I want to have working example with functions calls, not with
simple variable checks. Now it look's like this:

http://n3.nabble.com/file/n120961/erro_claim.png 

Eclipse error message: Unable to resolve ObjectType
'claim.isDefraudationSuspect'

when I look to:
http://docs.codehaus.org/display/DROOLS/Business+rules+in+decision+tables+explained
 (last picture) i don't see any major differences, so what is wrong with
it??
-- 
View this message in context: http://n3.nabble.com/Writing-decision-tables-without-eclipse-errors-tp120961p120961.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list