Rules are not to be "called". A rule become activated when facts match its condition.
To analyse any data by a rule, it must be inserted into working memory.

You can defined functions in Drools, but this is merely an alternative to coding
and importing a static Java method.

-W


On 27 September 2012 18:53, thano <asimoon@gmail.com> wrote:
HI,

I am new to drools. I would like to know if it is possible to define a
function in drools or something similar. For example, Rule 1 would call
another rule say Rule 2 and pass some parameters to be analysed with in Rule
2. I need to know if this can be achieved purely in drools.

many thanks



--
View this message in context: http://drools.46999.n3.nabble.com/function-in-drools-tp4020021.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users