<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Femke De Backere wrote:
<blockquote cite="mid:8895C526-2B10-4A96-A339-F203677CBBF3@gmail.com"
 type="cite">
  <div style="">
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#050505">Hi,&nbsp;</font></div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#050505"><br>
  </font></div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#050505">I encountered the following
error, trying to insert a Split node in my ruleflow.&nbsp;</font></div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><br>
  </div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);">[8,0]:
[ERR 103] Line 8:0 no viable alternative at input 'testType' in rule
"RuleFlow-Split-masterproef.ruleflows.sedation-4-9"</div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);">[16,5]:
[ERR 103] Line 16:5 no viable alternative at input 'testType' in rule
"RuleFlow-Split-masterproef.ruleflows.sedation-4-5"</div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; 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; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><span
 class="Apple-tab-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; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><span
 class="Apple-tab-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; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><span
 class="Apple-tab-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; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><span
 class="Apple-tab-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; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);"><br>
  </div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">The split node contains the
folowing code:</font></div>
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);">
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">Patient( testType : type )</font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b><font
 class="Apple-style-span" color="#030205">not</font></b><font
 class="Apple-style-span" color="#030205">&nbsp;(testType == 'Korte sedatie')</font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205"><br>
  </font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">My Patient-class contains a
methode getType().</font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205"><br>
  </font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">Does anyone know how I can
solve the error?</font></div>
  </div>
  </div>
</blockquote>
That's not valid DRL,not must surrround patterns, not random
expressions. It should be:<br>
not Patient( testType == "Kore sedatie" )<br>
<br>
Mark<br>
<blockquote cite="mid:8895C526-2B10-4A96-A339-F203677CBBF3@gmail.com"
 type="cite">
  <div style="">
  <div
 style="margin: 0px; font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal; color: rgb(255, 0, 0);">
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205"><br>
  </font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">Thx!</font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205"><br>
  </font></div>
  <div
 style="margin: 0px; font-family: 'Lucida Grande'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 11px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><font
 class="Apple-style-span" color="#030205">Femke</font></div>
  </div>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>