I assume you are defining a rule in the guided decision table?<br><br>Can you provide an extract of your repository with modifications you have made and I'll take a look?<br><br>Thanks,<br><br>Mike<br><br><div class="gmail_quote">
2011/5/21 Faisal Shafique <span dir="ltr"><<a href="mailto:just_faisal@yahoo.com">just_faisal@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div bgcolor="#FFFFFF"><div>Brother you are working on saturday?<br><br>Regards,<div><br></div><div>Faisal Shafique</div></div><div><div></div><div class="h5"><div><br>On May 21, 2011, at 2:55 PM, mahmood lebbai <<a href="mailto:mahmoodlebbai@yahoo.com" target="_blank">mahmoodlebbai@yahoo.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>I need help to clarify the following</div>
<div><br></div><div>I had taken latest Guvnour 5.2.0 M2 version and use the sample pricing loan rules.</div><div><br></div><div>When i tried to use the "Negate" Meta data option and set it to true on first rule , i had got the following error.</div>
<div><br></div><div><br></div><div><span style="font-family: 'Arial Unicode MS',Arial,sans-serif; line-height: 19px; font-size: small;"><table style="border: 1px inset rgb(102, 102, 102); font-size: small; border-collapse: collapse; background-color: rgb(255, 255, 255);">
<tbody><tr><td style="margin: 0px; padding: 0px; font-family: 'Arial Unicode MS',Arial,sans-serif; font-size: small;">Pricing loans] [ERR 102] Line 7:3 mismatched input 'income' in rule "Row 1 Pricing loans"</td>
</tr><tr><td style="margin: 0px; padding: 0px; font-family: 'Arial Unicode MS',Arial,sans-serif; font-size: small;"><img src="" style="border-width: 0px; width: 16px; min-height: 16px;" border="0"></td><td style="margin: 0px; padding: 0px; font-family: 'Arial Unicode MS',Arial,sans-serif; font-size: small;">
[Pricing loans] Line 16:0 unexpected exception at input 'rule'. Exception: java.util.EmptyStackException. Stack trace: java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:79)
at java.util.Stack.pop(Stack.java:61)
at org.drools.lang.ParserHelper.popParaphrases(ParserHelper.java:409)
at org.drools.lang.ParserHelper.end(ParserHelper.java:723)
at org.drools.lang.DRLParser.rule(DRLParser.java:915)
at org.drools.lang.DRLParser.statement(DRLParser.java:248)
at org.drools.lang.DRLParser.compilationUnit(DRLParser.java:143)
at org.drools.compiler.DrlParser.compile(DrlParser.java:225)
at org.drools.compiler.DrlParser.parse(DrlParser.java:71)
at org.drools.compiler.DrlParser.parse(DrlParser.java:76)
at </td></tr></tbody></table></span></div><div><br></div><div>I have a similar requirement where in I need to write both negate with true and false within the same ruleset in guvnour. Please help me out how to achieve this.</div>
<div><br></div><div>Regards,</div><div>Mahmood</div></div></div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rules-users mailing list</span><br>
<span><a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a></span><br><span><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a></span><br>
</div></blockquote></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>