Re: [rules-users] Calling a rule within a rule

2010-06-02 Thread Dinesh kumar
Hi, Thanks for your reply. The explanation of rule evaluation flow is really good. Solution 1: I cannot use all the rules in a single rule because actual rules are very complicated and in real scenarios i will actually have many rules within a single rule and on success of that I need to execute

Re: [rules-users] Calling a rule within a rule

2010-06-02 Thread Swindells, Thomas
--- > From: rules-users-boun...@lists.jboss.org [mailto:rules-users- > boun...@lists.jboss.org] On Behalf Of Dinesh kumar > Sent: 02 June 2010 02:30 > To: rules-users@lists.jboss.org > Subject: [rules-users] Calling a rule within a rule > > > Hi All, > > I am new to D

[rules-users] Calling a rule within a rule

2010-06-01 Thread Dinesh kumar
Hi All, I am new to Drools and I need a help. Is it possible to call a rule within a rule. i.e., only when rule1 condition is true , my rule2 should execute rule1 when a!=null then ... rule2 when a.toString() !="" then ... Though i can write both the conditions in the same rule, its not a f