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.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to