To be honest there are no plans.<br><br>Templates are implemented internally as MVEL templates and hence String manipulation.<br><br>At this level concepts of &quot;Pattern&quot; and &quot;Constraint&quot; have no meaning and hence it is next to impossible to determine what impact a missing parameter value has.<br>
<br><div class="gmail_quote">On 22 March 2012 09:40, Vincent Legendre <span dir="ltr">&lt;<a href="mailto:vincent.legendre@eurodecision.com">vincent.legendre@eurodecision.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Thanks for the warning, some old bugs appears clearer now !!!<br>
    <br>
    Is it planned in a near future to only exclude the constraint and
    not the whole fact pattern ?<br>
    To me, it seems more accurate to do this way.<br>
    <br>
    Le 19/03/2012 22:57, Michael Anstis a écrit :
    <div class="im"><blockquote type="cite">This is true, but be aware that if a cell value in the
      Template data is empty the whole Fact Pattern is omitted.<br>
      <br>
      For example:-<br>
      <br>
      <span style="font-family:courier new,monospace">rule &quot;Discount
        @{row.rowNumber}&quot;</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">  when</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">    Account( $v :
        @{field} != null )</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">    $c : Customer(
        @{field} == $v , accno == @{accno} )</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">  then</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">   
        $c.setDiscount(1);</span><br style="font-family:courier new,monospace">
      <span style="font-family:courier new,monospace">end</span><br style="font-family:courier new,monospace">
      <br>
      If &quot;field&quot; is empty neither &quot;Account&quot; or &quot;Customer&quot; will be
      included in the generated DRL.<br>
      <br>
      If &quot;accno&quot; is empty &quot;Customer&quot; will not be included in the
      generated DRL.<br>
      <br>
      This may have an impact on what you want to achieve.<br>
      <br>
      With kind regards,<br>
      <br>
      Mike<br>
    </blockquote>
    <br>
  </div></div>

<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>