Unfortunately "dialect" is not supported in Excel based Decision Tables (and the guided Decision Table in Guvnor is not currently sophisticated enough to support your requirement).
Feel free to look into the code (org.drools.decisiontable.parser.DefaultRuleSheetListener is a good starting point in drools-decisiontables) if you're interested...
...or raise a JIRA for this to be added.
With kind regards,
Mike
Edson/Wolfgang,
Thanks to your suggestions, I've got this working the way I need it using
rules defined in a .drl file. I think I have just one hurdle left before I
start working out how to get it working through decision tables - and that
is how to specific 'mvel' dialect for decision tables.
Edson as you pointed out, in order for me to send the value of $param to the
accumulator, I should use mvel to create a list of the parameters (the
$param and the fact being matched). I tried looking for ways to specify mvel
and couldn't find how to set the dialect for rules defined in decision
tables.
Thanks,
Gurvinder
--
View this message in context: 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
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list