<br><tt><font size=2>Hi,</font></tt>
<br><tt><font size=2>Thanks for replying.</font></tt>
<br>
<br><tt><font size=2>I have a scenario like</font></tt>
<br><tt><font size=2>Rule "shopping cart total exceeds 4000, give
50% discount"</font></tt>
<br><tt><font size=2> when</font></tt>
<br><tt><font size=2> <condition></font></tt>
<br><tt><font size=2> then</font></tt>
<br><tt><font size=2> <action></font></tt>
<br><tt><font size=2> call Rule"if
order is between 6 to 9 pm, give additional discount of 20 %"</font></tt>
<br><tt><font size=2>end</font></tt>
<br><tt><font size=2>Rule "if order between 6 to 9 pm give additional
discount of 20 %"</font></tt>
<br><tt><font size=2> when</font></tt>
<br><tt><font size=2>
<condition></font></tt>
<br><tt><font size=2> then</font></tt>
<br><tt><font size=2>
<action></font></tt>
<br><tt><font size=2>end</font></tt>
<br>
<br><tt><font size=2>..............</font></tt>
<br><tt><font size=2>Also i have a query like, Can we make rule like
this</font></tt>
<br>
<br><tt><font size=2>Rule "shopping cart total exceeds 4000 give 50%
discount"</font></tt>
<br><tt><font size=2> when</font></tt>
<br><tt><font size=2>
<condition></font></tt>
<br><tt><font size=2> then</font></tt>
<br><tt><font size=2>
<action></font></tt>
<br><tt><font size=2>
</font></tt>
<br><tt><font size=2>
Rule "if order between 6 to 9 pm give additional
discount of 20 %"</font></tt>
<br><tt><font size=2>
when </font></tt>
<br><tt><font size=2>
<condition></font></tt>
<br><tt><font size=2>
then</font></tt>
<br><tt><font size=2>
<action></font></tt>
<br><tt><font size=2>
end</font></tt>
<br><tt><font size=2>end</font></tt>
<br>
<br><tt><font size=2>Can we make rules like above?</font></tt>
<br>
<br>
<br>
<br><tt><font size=2><br>
Subject: Re: [rules-users] How to create nested rules in Drool Guvnor<br>
To: Rules Users List <rules-users@lists.jboss.org><br>
Message-ID:<br>
<efac615a0908110416s2560347fr5d4b0431bb727e9a@mail.gmail.com><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
give us one example about your nested rules ..<br>
<br>
<br>
2009/8/11 <Pardeep.Ruhil@lntinfotech.com><br>
<br>
><br>
> Hi Users,<br>
> I have a scenario in which I have to make nested rules.<br>
> But I don't know how it is to be done in Drools Guvnor. I had created
them<br>
> in Drool Rule Engine, but have no clue<br>
> of the same in Drool Guvnor.<br>
> Can you please tell me how to achieve this in Drool Guvnor , as it
is very<br>
> urgent.<br>
> Please tell.<br>
><br>
> Thanks & Regards<br>
><br>
> Pardeep Ruhil<br>
</font></tt>
<BR>
______________________________________________________________________<BR>