Rules are not to be &quot;called&quot;. A rule become activated when facts match its condition. <br>To analyse any data by a rule, it must be inserted into working memory.<br><br>You can defined functions in Drools, but this is merely an alternative to coding<br>
and importing a static Java method.<br><br>-W<br><br><br><div class="gmail_quote">On 27 September 2012 18:53, thano <span dir="ltr">&lt;<a href="mailto:asimoon@gmail.com" target="_blank">asimoon@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">HI,<br>
<br>
I am new to drools. I would like to know if it is possible to define a<br>
function in drools or something similar. For example, Rule 1 would call<br>
another rule say Rule 2 and pass some parameters to be analysed with in Rule<br>
2. I need to know if this can be achieved purely in drools.<br>
<br>
many thanks<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/function-in-drools-tp4020021.html" target="_blank">http://drools.46999.n3.nabble.com/function-in-drools-tp4020021.html</a><br>
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>
</blockquote></div><br>