Insert a new fact that causes Rule 2 to fire. That way you can decouple your logic and gain more flexibility to add more rules based on this new fact.<br><br><div class="gmail_quote">2009/12/4 Deepak Jambhekar <span dir="ltr">&lt;<a href="mailto:deepak.jambhekar@tcs.com">deepak.jambhekar@tcs.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>Hi...</div><div>       In one of my requirments I need to fire a rule from another rule... i.e.</div>
<div> when </div><div>      <span style="font-family:Monaco, Verdana, Arial, Helvetica, sans-serif;font-size:11px"><font color="#008000"><font color="#960000">rule</font><font color="#000000"> </font>&quot;Rule 1&quot;</font></span></div>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000"><font color="#000000"><span style="white-space:pre">        </span></font>when</font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Monaco"><span style="white-space:pre">                </span>condition()</p>
<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000"><font color="#000000"><span style="white-space:pre">        </span></font>then</font></p>
<p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Monaco"><span style="white-space:pre">        </span>      someaction()</p><p style="margin:0.0px 0.0px 0.0px 0.0px;font:11.0px Monaco"><span style="white-space:pre">        </span>      then it should fire another rule Rule2</p>

<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000">end</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000">    <span style="font-family:&#39;Default Sans Serif&#39;, Verdana, Arial, Helvetica, sans-serif;font-size:small"><font color="#000000">      <span style="font-family:Monaco, Verdana, Arial, Helvetica, sans-serif;font-size:11px"><font color="#008000"><font color="#960000">rule</font><font color="#000000"> </font>&quot;Rule 2&quot;</font></span></font></span></font></p>
<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000"><font color="#000000"><span style="white-space:pre">        </span></font>when</font></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
<span style="white-space:pre">                </span>condition()</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><font color="#960000"><font color="#000000"><span style="white-space:pre">        </span></font>then</font></p>
<p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="white-space:pre">        </span>      someaction()</p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px"><span style="white-space:pre">        </span><font color="#960000">end</font></p>
<div>Can we achieve this in Guvnor??</div><div>please help....<br><br></div><div>Thanks<br>Deepak Prabhakar Jambhekar<br><br></div></font><pre>=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


</pre>
<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>