Congratulations :)<br><br>You win the prize for finding (possibly) the first bug in 5.4. Using free-format DRL is, as you&#39;ve found, a work-around.<br><br>Can you please raise a bug at <a href="https://issues.jboss.org/browse/GUVNOR">https://issues.jboss.org/browse/GUVNOR</a> and I&#39;ll fix as soon as possible.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 15 May 2012 13:51, zeeshan khan <span dir="ltr">&lt;<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.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><br></div><div><b>sorry forgot to attach the file....please find it again...</b></div><div class="HOEnZb"><div class="h5">
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">On Tue, May 15, 2012 at 6:19 PM, zeeshan khan <span dir="ltr">&lt;<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.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><b>Hi Mike !!</b></div><div><b><br></b></div><div><b>I am using 5.4 version....please have a look to the  screen shots attached.....</b></div>

<div><br></div><div>the rounded box in the screenshot takes only numbers in the case of THEN....but working fine in WHEN...</div>
<div>so i tried by using <b>ADD FROM FREE DRL</b>(in the box 2), and this was working fine...</div><div><br></div><div>thanks !!</div><div><div><div><br></div><div><br></div><div><br></div><div>
<br></div><div><br></div><div><br></div>
<br><br><div class="gmail_quote">On Tue, May 15, 2012 at 6:06 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I tested formula with 5.4 and it works as I defined.<br><br>What version of Guvnor are you using?<div><div><br><br><div class="gmail_quote">On 15 May 2012 13:34, zeeshan khan <span dir="ltr">&lt;<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.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><b>Hi Mike !!</b></div><div><b><br></b></div><div><b>Thanks for the reply.....its working fine in WHEN but not in THEN......</b></div>



<div><div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br>
</div><div><br></div><div><br></div><div><br></div><br><br><div class="gmail_quote">On Tue, May 15, 2012 at 5:06 PM, Michael Anstis <span dir="ltr">&lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The book, as Mark also said, is out of date compared to the current (5.4) version of Drools and Guvnor.<br><br>I suspect you&#39;ve elected to set the field&#39;s value to a literal rather than formula. Please try deleting the constraint and adding back.<br>





<br>When clicking on the pencil icon next to the operator be sure to select &quot;New formula&quot;.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote"><div><div>On 15 May 2012 12:27, zeeshan khan <span dir="ltr">&lt;<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.com</a>&gt;</span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><span>Hi Team !</span></div><div><font color="#222222" face="arial, sans-serif"><br>
</font></div><div><font color="#222222" face="arial, sans-serif">           Earlier I sent this mail to <a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a>. Mark Proctor asked me to mail here so I am mailing here in the hope of reply.<br>






</font><div><br></div><div>           Since yesterday only I started learning Drools with the help of Google and <b>JBOSS DROOLS BUSINESS RULES pdf file</b>. I faced many problems to understand the concept but now its going smooth. But the problem is the <b>version of PDF file of the book</b> and the <b>Govener version</b>. <b>Its quite different</b>.  I request you all to please provide me the latest version of PDF as I am unable to find on net. The problem I am facing is to put the formula as given in the screen shot in the book.</div>






<div>           I am unable to put the <b>formula</b> as described in JBOSS DROOLS BUSINESS RULES pdf file on page no. 102.....the formula is <b>salesValue-10 as the box is not capable of taking cahracters. </b>It is taking only integer.</div>






<div><br></div><div>Thanks in Advance for all the help and material !!!!</div></div><br>
<br></div></div>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
<br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div><br></div><div><br></div><div>Best Regards, </div><div><br></div><div><b><i>Zeeshan Khan</i></b></div>
<div><b><i>Liferay Java Developer</i></b></div><div>
<b><i>IBEXI Solutions India</i></b></div><br>
</font></span><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">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><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div><div>Best Regards, </div><div><br></div><div><b><i>Zeeshan Khan</i></b></div><div><b><i>Liferay Java Developer</i></b></div><div>


<b><i>IBEXI Solutions India</i></b></div><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div><br></div><div>Best Regards, </div><div><br></div><div><b><i>Zeeshan Khan</i></b></div><div><b><i>Liferay Java Developer</i></b></div>

<div><b><i>IBEXI Solutions India</i></b></div><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>