[rules-users] How to write a rule that fires when it matches against specific facts in working memory.

Michael Anstis michael.anstis at gmail.com
Sat Feb 5 17:00:37 EST 2011


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

On 5 February 2011 17:12, groovenarula <gnarula1 at la-z-boy.com> wrote:

>
> 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
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110205/2b553c00/attachment.html 


More information about the rules-users mailing list