Have a look at Drools Flow if this is what you really need to achieve.
Ordinarily the order in which the rules need apply is not essential as a consequence is inferred from the facts in working memory.
Truth maintenance and the agenda support the inference mechanisms.
I think The Drools Way is to change something in the working memory to cause the secondary rule to be fired.On Wed, Aug 18, 2010 at 9:58 PM, Sanjib Karmakar <sanjibk@skytechsolutions.co.in> wrote:
Hi friends
I would like to execute a rule say Rule-1 from inside another rule say
Rule-2.
In project I am using xml and not drl, and I am using Drools 5.0
Please let me know how to call a rule from another rule.
Thanks
Sanjib
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-Can-a-Drools-Rule-call-another-Drools-Rule-tp1219190p1219190.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
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