<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <big><big>hi,<br>
        <br>
        i'm facing a problem with decision tables. i've got a .drl
        working file. but when i happen to take that into a .xls file (
        decision table ) it throws some errors.<br>
        <br>
        my actual rule in .drl file has got something like this.<br>
        <br>
        when<br>
        <br>
        &nbsp;&nbsp;&nbsp; $event : RouteEvent( nodeIp == "192.168.1.12 )<br>
        &nbsp;&nbsp;&nbsp; $varbind : Varbind ( oid == ".1.3.6.1.2.1.2.2.1.1.0"
        &amp;&amp; value == "5" ) from $event.varbindings<br>
        <br>
        then<br>
        &nbsp;&nbsp;&nbsp; <br>
        &nbsp;&nbsp;&nbsp; System.out.println("some text")<br>
        <br>
        here in my decision table, my first cell would have the first
        condition</big><br>
      <br>
    </big>
    <style>body, div, table, thead, tbody, tfoot, tr, th, td, p { font-family: "Arial"; font-size: x-small; }</style>
    <table rules="NONE" border="0" cellspacing="0" cols="1" frame="VOID">
      <colgroup><col width="340"></colgroup> <tbody>
        <tr>
          <td align="LEFT" height="16" width="340"><big><font size="1"
                color="#1a1a1a" face="Monospace"><big>$event :
                  RouteEvent</big></font></big></td>
        </tr>
        <tr>
          <td align="LEFT" height="28"><big><font size="1"
                color="#1a1a1a" face="Monospace"><big>nodeIp == "$param"</big></font></big></td>
        </tr>
      </tbody>
    </table>
    <br>
    <big><big>that is, i've to omit my "(" and ")" braces.<br>
        <br>
        so now, my second condition is</big><br>
      <br>
    </big>
    <style>body, div, table, thead, tbody, tfoot, tr, th, td, p { font-family: "Arial"; font-size: x-small; }</style>
    <table rules="NONE" border="0" cellspacing="0" cols="1" frame="VOID">
      <colgroup><col width="343"></colgroup> <tbody>
        <tr>
          <td align="LEFT" height="16" width="343"><big><font size="1"
                color="#1a1a1a" face="Monospace"><big>$varbind : Varbind</big></font></big></td>
        </tr>
        <tr>
          <td align="LEFT" height="28"><big><font size="1"
                color="#1a1a1a" face="Monospace"><big>( oid == "$1"
                  &amp;&amp; value == "$2" ) from $event.varbindings</big></font></big></td>
        </tr>
      </tbody>
    </table>
    <br>
    <big><br>
      <big>here i don't know how to omit the "(" and ")" braces. or
        should i add and other layer of those braces.<br>
        <br>
        anyway, the decision table is not working, where as my rule file
        does.<br>
        <br>
        the error message is<br>
        <br>
        &nbsp;error java.lang.RuntimeException: [10,55]: [ERR 102] Line 10:55
        mismatched input 'FROM' expecting ')' in rule "210.210.122.100
        GroupA" in pattern Varbind[10,77]: [ERR 102] Line 10:77
        mismatched input ')' expecting 'then' in rule "210.210.122.100
        GroupA"<br>
        <br>
        my doubt is,<br>
        in the first case all my condition expression is contained with
        in braces. where as in second case, it's not. so how do i've to
        handle this. do i've have to omit the braces in the second case
        or not.<br>
        <br>
        please help me. i've been struggling to solve this error. also,
        i couldn't find references in the documentation. <br>
        thanks in advace.</big><br>
    </big><br>
    <pre class="moz-signature" cols="72"> _ _     _ _ |.    
| | ||_|| (_|||  \/

Whoever wants to be happy, let him be so: of tomorrow there's no knowing</pre>
  </body>
</html>