[rules-users] function in drools

Wolfgang Laun wolfgang.laun at gmail.com
Thu Sep 27 14:26:59 EDT 2012


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20120927/8a2cbdff/attachment-0001.html 


More information about the rules-users mailing list