That is not a valid condition. I believe what u are trying to is this Patient(type != 'Korte sedatie')
On Tue, Mar 3, 2009 at 10:36 AM, Femke De Backere <[email protected]> wrote: > Hi, > > I encountered the following error, trying to insert a Split node in my > ruleflow. > > [8,0]: [ERR 103] Line 8:0 no viable alternative at input 'testType' in rule > "RuleFlow-Split-masterproef.ruleflows.sedation-4-9" > [16,5]: [ERR 103] Line 16:5 no viable alternative at input 'testType' in > rule "RuleFlow-Split-masterproef.ruleflows.sedation-4-5" > java.lang.IllegalArgumentException: Could not parse knowledge. > at masterproef.rulerunner.RuleFlowRunner.createKnowledgeBase( > RuleFlowRunner.java:120) > at masterproef.rulerunner.RuleFlowRunner.createWorkingMemory( > RuleFlowRunner.java:94) > at masterproef.rulerunner.RuleFlowRunner.<init>(RuleFlowRunner.java:81) > at masterproef.rulerunner.RuleFlowRunner.main(RuleFlowRunner.java:72) > > The split node contains the folowing code: > Patient( testType : type ) > *not* (testType == 'Korte sedatie') > > My Patient-class contains a methode getType(). > > Does anyone know how I can solve the error? > > Thx! > > Femke > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > >
_______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
