In your example:-<br><br>1. | rule "Rule One"<br>
2. | dialect "mvel"<br>
3. | when<br>
4. | Class(campaign == 1939506 )<br>
5. | Class1( CUR_FM_EOC_IN == "Y" )<br>
6. | Class1( GRP_TRANSPARENT_IN == "N" )<br>
7. | Class1( LEGAL_LANG_CD != "ES" )<br>
8. | Class( BUSUNIT_01_NO == "39" )<br>
9. | then<br>
10. | Dummy fact1 = new Dummy();<br>
11. | fact1.setAsset_41369( "Access 1" );<br>
12. | insert( fact1 );<br>
13. | end<br><br>Where is the binding of a LHS fact? In particular, given your requirement, a bound Dummy? I would have expected:-<br><br>when<br> $d : Dummy( ... )<br> ....<br>then<br> $d.setWhatEver( ... );<br>
update( $d );<br>end<br><br>The RHS constructs only become available if you have at least one binding in the LHS. You have zero.<br><br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 17 January 2013 10:01, starfish15 <span dir="ltr"><<a href="mailto:pooja.ghosh@accenture.com" target="_blank">pooja.ghosh@accenture.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi manstis,<br>
<br>
Are you sure there exists an option in the Web Editor that set the rules to<br>
an existing fact. Because i was unable to find that. And the example given<br>
to you is the source of a Business Rule tried in GUVNOR. But they both stop<br>
at the same thing.<br>
<br>
I am not sure what cud be the problem here.<br>
<br>
Regards,<br>
Starfish<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Guvnor-5-5-being-WIERD-tp4021569p4021599.html" target="_blank">http://drools.46999.n3.nabble.com/Guvnor-5-5-being-WIERD-tp4021569p4021599.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>