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.
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.
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