That is not a valid condition. I believe what u are trying to is this<br><br>Patient(type != &#39;Korte sedatie&#39;)<br><br><div class="gmail_quote">On Tue, Mar 3, 2009 at 10:36 AM, Femke De Backere <span dir="ltr">&lt;<a href="mailto:femmyke@gmail.com">femmyke@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style=""><div style=""><div style="margin: 0px;"><font color="#050505">Hi, </font></div>
<div style="margin: 0px;"><font color="#050505"><br></font></div><div style="margin: 0px;"><font color="#050505">I encountered the following error, trying to insert a Split node in my ruleflow. </font></div><div style="margin: 0px; color: rgb(255, 0, 0);">
<br></div><div style="margin: 0px; color: rgb(255, 0, 0);">[8,0]: [ERR 103] Line 8:0 no viable alternative at input &#39;testType&#39; in rule &quot;RuleFlow-Split-masterproef.ruleflows.sedation-4-9&quot;</div><div style="margin: 0px; color: rgb(255, 0, 0);">
[16,5]: [ERR 103] Line 16:5 no viable alternative at input &#39;testType&#39; in rule &quot;RuleFlow-Split-masterproef.ruleflows.sedation-4-5&quot;</div><div style="margin: 0px; color: rgb(0, 0, 128);"><span style="text-decoration: underline;">java.lang.IllegalArgumentException</span><span style="color: rgb(255, 0, 0);">: Could not parse knowledge.</span></div>
<div style="margin: 0px; color: rgb(255, 0, 0);"><span style="white-space: pre;">        </span>at masterproef.rulerunner.RuleFlowRunner.createKnowledgeBase(<span style="text-decoration: underline; color: rgb(0, 0, 128);">RuleFlowRunner.java:120</span>)</div>
<div style="margin: 0px; color: rgb(255, 0, 0);"><span style="white-space: pre;">        </span>at masterproef.rulerunner.RuleFlowRunner.createWorkingMemory(<span style="text-decoration: underline; color: rgb(0, 0, 128);">RuleFlowRunner.java:94</span>)</div>
<div style="margin: 0px; color: rgb(255, 0, 0);"><span style="white-space: pre;">        </span>at masterproef.rulerunner.RuleFlowRunner.&lt;init&gt;(<span style="text-decoration: underline; color: rgb(0, 0, 128);">RuleFlowRunner.java:81</span>)</div>
<div style="margin: 0px; color: rgb(255, 0, 0);"><span style="white-space: pre;">        </span>at masterproef.rulerunner.RuleFlowRunner.main(<span style="text-decoration: underline; color: rgb(0, 0, 128);">RuleFlowRunner.java:72</span>)</div>
<div style="margin: 0px; color: rgb(255, 0, 0);"><br></div><div style="margin: 0px;"><font color="#030205">The split node contains the folowing code:</font></div><div style="margin: 0px; color: rgb(255, 0, 0);"><div style="margin: 0px;">
<font color="#030205">Patient( testType : type )</font></div><div style="margin: 0px;"><b><font color="#030205">not</font></b><font color="#030205"> (testType == &#39;Korte sedatie&#39;)</font></div><div style="margin: 0px;">
<font color="#030205"><br></font></div><div style="margin: 0px;"><font color="#030205">My Patient-class contains a methode getType().</font></div><div style="margin: 0px;"><font color="#030205"><br></font></div><div style="margin: 0px;">
<font color="#030205">Does anyone know how I can solve the error?</font></div><div style="margin: 0px;"><font color="#030205"><br></font></div><div style="margin: 0px;"><font color="#030205">Thx!</font></div><div style="margin: 0px;">
<font color="#030205"><br></font></div><font color="#888888"><div style="margin: 0px;"><font color="#030205">Femke</font></div></font></div></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>