It is not so easy to create rules programmatically (if that's what you
mean).

You could use the experimental (unstable) "fluent" API (see 2.2.2.6. Rule
API in the "Drools Introduction and General User Guide"), but this is a
rather inconvenient way of accumulating strings to create a package. I'd
rather create a String and feed the DRL compiler with it, but YMMV.

-W



2012/2/13 freelance developpement <developpement.freela...@gmail.com>

> Hi every one,
>
> I defined a function in Guvnor and I want to call it to define a rule
> template. But I do not know how.
>
> Have you any ideas?
> Thank you in advance
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to