[rules-users] Drools rule template question

Michael Anstis michael.anstis at gmail.com
Fri Jun 29 12:26:32 EDT 2012


This is by design.

You have to include a value for all template keys.

The reasoning is that as you can define any arbitrary template; a missing
value could invalidate the resulting syntax; e.g.: MyFact( @{k1} == @{k2} )

Decision tables are more strict with the constructs you can define and
hence permit empty values.

With kind regards,

Mike

On 29 June 2012 17:20, gd007 <gdind2003 at gmail.com> wrote:

> I have a decision table in an excel file. It works fine if I have empty
> column values. However, if I use rule template rows with empty column
> values are completely ignored. Is this known issue? Or I am doing something
> wrong. Thanks, --Gautam
> ------------------------------
> View this message in context: Drools rule template question<http://drools.46999.n3.nabble.com/Drools-rule-template-question-tp4018365.html>
> Sent from the Drools: User forum mailing list archive<http://drools.46999.n3.nabble.com/Drools-User-forum-f47000.html>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/20120629/42da3b4c/attachment.html 


More information about the rules-users mailing list