Okay, digging more into the source code I found the method replaceOptionals which does exactly what I need. So despite the missing docs, a line IS skipped if the according parameter used in that line is null. Perfect :-)
Sorry for the interruption Von: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Bernd Rücker Gesendet: Freitag, 26. Februar 2010 12:30 An: rules-users@lists.jboss.org Betreff: [rules-users] Rule Templates and null values Hi all. I question myself if I can get the Rule Templates to works like it is in Excel: If one parameter is not set (null), the whole line of the template is skipped? Since we want to build a template for a lot of rules, fed from a database. There some conditions can be null, so they should not be included in the rule at all. Has anybody an idea to this? I havent found anything, neither in the docs, nor in the testcases Thanks a lot Bernd
_______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users