Have a look to :
- templates :
http://docs.jboss.org/drools/release/5.3.0.Final/drools-expert-docs/html_...
- fluent API
- generate DRL, or XML, or use internal Guvnor classes to do so
In fact, while searching for links to put there (with google), I found this 'not so
old' thread, with plenty of details :
http://drools.46999.n3.nabble.com/How-to-create-a-drl-file-or-decision-ta...
----- Mail original -----
De: "Anton Hughes" <kurrent93(a)gmail.com>
À: rules-users(a)lists.jboss.org
Envoyé: Vendredi 27 Avril 2012 12:58:03
Objet: [rules-users] Dynamically create drools mvel rules
Hi
I remember seeing this functionality, but after googling - and not finding anything - I
thought I would ask here.
I have a lot of xml files that contain if conditions.
I would like to read these, and convert them to drools mvel rules.
Can someone suggest the best way to do this?
Thanks and regards,
Anton
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users