Hello,<br><br>This looks like a bug.<br><br>The &quot;PayTypeDepositFund&quot; is not being added as a Fact to the &quot;when&quot; part of rules as it doesn&#39;t not have any constraints. As it is not added you should not be able to use it&#39;s binding in the &quot;then&quot; part of the rule.<br>
<br>A work-around would be to add a constraint to &quot;PayTypeDepositFund&quot; for something like &quot;this != null&quot; (i.e. it has no effect, but does mean the Fact is added to the &quot;when&quot; part of the rule).<br>
<br>Can you please also open a JIRA at <a href="https://issues.jboss.org/browse/GUVNOR">https://issues.jboss.org/browse/GUVNOR</a> and attach the two documents you have produced (along with details of the problem).<br><br>
Thanks,<br><br>Mike<br><br><div class="gmail_quote">On 11 February 2013 11:56, Aditi Hardas <span dir="ltr">&lt;<a href="mailto:aditi.hardas@gmail.com" target="_blank">aditi.hardas@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">
Manstis ,<br>
<br>
I want to update a fact i.e. want to set value on existing fact.<br>
I am new to the Guvnor. So it may possible that I am not following proper<br>
steps for creating a Rule. As per my understanding from fact creation screen<br>
we can bind a fact pattern.<br>
<br>
steps.doc &lt;<a href="http://drools.46999.n3.nabble.com/file/n4022198/steps.doc" target="_blank">http://drools.46999.n3.nabble.com/file/n4022198/steps.doc</a>&gt;<br>
<br>
Thx<br>
<br>
<br>
<br>
<br>
-----<br>
Aditi<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-tp4022188p4022198.html" target="_blank">http://drools.46999.n3.nabble.com/Not-Able-to-create-a-condition-BRL-fragment-in-Guvnor-5-5-tp4022188p4022198.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>