<br><font size=2 face="sans-serif">Sir</font>
<br>
<br><font size=2 face="sans-serif">Thank you very much for your reply.</font>
<br><font size=2 face="sans-serif">In fact what I wanted to execute the
specific rule out of say 10 rules.</font>
<br>
<br><font size=2 face="sans-serif">I have tried </font>
<br><font size=2 color=#0021bf face="Courier New">ksession</font><font size=2 face="Courier New">.fireAllRules(2);</font>
<br><font size=2 face="sans-serif">Then only first 2 rules get executed.</font>
<br>
<br><font size=2 face="sans-serif">Please let me know if there is any way-out
to call specific rules out of bunch of rules.</font>
<br><font size=2 face="sans-serif">It would be extremely helpful if you
please share a code snippet regarding this.</font>
<br><font size=2 face="sans-serif"><br>
Regards<br>
Sanjib Karmakar<br>
SkyTech Solutions Pvt. Ltd<br>
<br>
Please consider the environment before printing this email.</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"Wolfgang Laun-2 [via
Drools - Java Rules Engine]" <<a href="/user/SendEmail.jtp?type=node&node=1238924&i=0" target="_top" rel="nofollow">[hidden email]</a>></b>
</font>
<p><font size=1 face="sans-serif">08/19/2010 07:45 PM</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Sanjib Karmakar <<a href="/user/SendEmail.jtp?type=node&node=1238924&i=1" target="_top" rel="nofollow">[hidden email]</a>></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: How Can a Drools Rule call another
Drools Rule?</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3>Rules are never "called". Changes in WM create
(and also delete) <br>
"activations": tuples consisting of a rule and the fact objects
<br>
matching the left hand side patterns. From this set of activations, <br>
rule right hand sides are executed according to salience (and other <br>
criteria). <br>
<br>
Perhaps if you describe the actual problem...? <br>
<br>
-W <br>
<br>
<br>
On 19 August 2010 06:58, Sanjib Karmakar <</font><a href="/user/SendEmail.jtp?type=node&node=1225490&i=0&by-user=t" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>[hidden
email]</u></font></a><font size=3>> wrote: </font>
<br><font size=3><br>
> <br>
> Hi friends <br>
> <br>
> I would like to execute a rule say Rule-1 from inside another rule
say <br>
> Rule-2. <br>
> In project I am using xml and not drl, and I am using Drools 5.0 <br>
> <br>
> Please let me know how to call a rule from another rule. <br>
> <br>
> Thanks <br>
> Sanjib <br>
> -- <br>
> View this message in context: </font><a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1219190.html?by-user=t&by-user=t" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1219190.html</u></font></a><font size=3><br>
> Sent from the Drools - User mailing list archive at Nabble.com. <br>
> _______________________________________________ <br>
> rules-users mailing list <br>
> </font><a href="/user/SendEmail.jtp?type=node&node=1225490&i=1&by-user=t" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>[hidden
email]</u></font></a><font size=3> <br>
> </font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
> </font>
<br><font size=3>_______________________________________________ <br>
rules-users mailing list </font><font size=3 color=blue><u><br>
</u></font><a href="/user/SendEmail.jtp?type=node&node=1225490&i=2&by-user=t" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>[hidden
email]</u></font></a><font size=3> </font><font size=3 color=blue><u><br>
</u></font><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target=_top rel="nofollow" link="external"><font size=3 color=blue><u>https://lists.jboss.org/mailman/listinfo/rules-users</u></font></a><font size=3><br>
</font>
<hr noshade>
<br><font size=3 color=#666666>View message @ </font><a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1225490.html?by-user=t" target="_top" rel="nofollow" link="external"><font size=3 color=blue><u>http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1225490.html</u></font></a><font size=3 color=#666666>
<br>
To unsubscribe from How Can a Drools Rule call another Drools Rule?, </font><a href="http://drools-java-rules-engine.46999.n3.nabble.com/template/NodeServlet.jtp?tpl=unsubscribe_by_code&node=1219190&code=c2Fuamlia0Bza3l0ZWNoc29sdXRpb25zLmNvLmlufDEyMTkxOTB8MTQzMDExODQ0MA==&by-user=t" target="_top" rel="nofollow" link="external"><font size=3 color=blue><u>click
here</u></font></a><font size=3 color=#666666>. </font>
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1238924.html">Re: How Can a Drools Rule call another Drools Rule?</a><br>
Sent from the <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>