I tested formula with 5.4 and it works as I defined.<br><br>What version of Guvnor are you using?<br><br><div class="gmail_quote">On 15 May 2012 13:34, zeeshan khan <span dir="ltr"><<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.com</a>></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 class="HOEnZb"><div class="h5"><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"><<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>></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've elected to set the field'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 "New formula".<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"><<a href="mailto:zeeshan.spring@gmail.com" target="_blank">zeeshan.spring@gmail.com</a>></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 class="HOEnZb"><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">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>