Hi,
Thanks for replying.

I have a scenario like
Rule "shopping cart total exceeds 4000, give 50% discount"
        when
          <condition>
        then
          <action>
          call Rule"if order is  between 6 to 9 pm, give additional discount of 20 %"
end
Rule "if order between 6 to 9 pm give additional discount of 20 %"
        when
                <condition>
        then
                <action>
end

..............
Also i have a  query like, Can we make rule like this

Rule "shopping cart total exceeds 4000 give 50% discount"
        when
                <condition>
        then
                <action>
               
                Rule "if order between 6 to 9 pm give additional discount of 20 %"
                        when
                                <condition>
                        then
                                <action>
                end
end

Can we make rules like above?




Subject: Re: [rules-users] How to create nested rules in Drool Guvnor
To: Rules Users List <rules-users@lists.jboss.org>
Message-ID:
                <efac615a0908110416s2560347fr5d4b0431bb727e9a@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

give us one example about your nested rules ..


2009/8/11 <Pardeep.Ruhil@lntinfotech.com>

>
> Hi Users,
> I have a scenario in which I have to make nested rules.
> But I don't know how it is to be done in Drools Guvnor. I had created them
> in Drool Rule Engine, but have no clue
> of the same in Drool Guvnor.
> Can you please tell me how to achieve this in Drool Guvnor , as it is very
> urgent.
> Please tell.
>
> Thanks & Regards
>
> Pardeep Ruhil

______________________________________________________________________