Unfortunately &quot;dialect&quot; is not supported in Excel based Decision Tables (and the guided Decision Table in Guvnor is not currently sophisticated enough to support your requirement).<br><br>Feel free to look into the code (org.drools.decisiontable.parser.DefaultRuleSheetListener is a good starting point in drools-decisiontables) if you&#39;re interested...<br>
<br>...or raise a JIRA for this to be added.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 5 February 2011 17:12, groovenarula <span dir="ltr">&lt;<a href="mailto:gnarula1@la-z-boy.com">gnarula1@la-z-boy.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br>
Edson/Wolfgang,<br>
<br>
Thanks to your suggestions, I&#39;ve got this working the way I need it using<br>
rules defined in a .drl file. I think I have just one hurdle left before I<br>
start working out how to get it working through decision tables - and that<br>
is how to specific &#39;mvel&#39; dialect for decision tables.<br>
<br>
Edson as you pointed out, in order for me to send the value of $param to the<br>
accumulator, I should use mvel to create a list of the parameters (the<br>
$param and the fact being matched). I tried looking for ways to specify mvel<br>
and couldn&#39;t find how to set the dialect for rules defined in decision<br>
tables.<br>
<br>
Thanks,<br>
Gurvinder<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2432302.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/How-to-write-a-rule-that-fires-when-it-matches-against-specific-facts-in-working-memory-tp2294599p2432302.html</a><br>

</font><div class="im">Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
</div><div class="im"><a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
</div><div><div></div><div class="h5"><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>