<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">In the sentence &#39;Transaction.setChargeFee( true)&#39;, &#39;Transaction&#39; is not making reference to the fact (unless you have bound it and you are not showing that piece) but to the class named &#39;</span><span style="font-family:arial,sans-serif;font-size:13px">Transaction&#39;.</span><div>

<font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Best Regards,<br></font><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br>

</span></div></div></div><div class="gmail_extra"><br clear="all"><div><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a></div>


<br><br><div class="gmail_quote">On Mon, Feb 18, 2013 at 4:48 PM, IPatel <span dir="ltr">&lt;<a href="mailto:ishita.patel@usbank.com" target="_blank">ishita.patel@usbank.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thank you for your response.<br>
<br>
Here is the another option i used. Instead of using variable $item. I used<br>
the fact itself as following:<br>
[then] Charge a fee = Transcation.setChargeFee( true)<br>
<br>
when i used this i am getting &quot;There was an error executing the consequence<br>
of rule&quot;...<br>
<br>
Any idea how can i fix this??<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/When-Then-In-DSL-Rule-tp4022407p4022410.html" target="_blank">http://drools.46999.n3.nabble.com/When-Then-In-DSL-Rule-tp4022407p4022410.html</a><br>


<div class="HOEnZb"><div class="h5">Sent from the Drools: User forum mailing list archive at Nabble.com.<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>
</div></div></blockquote></div><br></div>