Hi All,
I have a doubt regarding drools-guvnor, as I am going to use Drools-Guvnor and 
integrate it with my application.

1.       Can I make two rules with the same name having different date-expires 
attributes.

Like depending upon the date the corresponding rule fires.

rule "discount"
   date-effective "01-July-2010 12:00:00 AM"
   date-expires "26-July-2010 12:00:00 AM"
 when
<condition for 10% discount>
then
<result>

rule "discount"
   date-effective "01-October-2010 12:00:00 AM"
   date-expires "26-October-2010 12:00:00 AM"
  when
<condition for 20% discount>
 then
                <result>



2.       Can I fire the rule which are expired programmatically?




Thanks & Regards
Pradeep Ruhil
L& T Infotech
Mahape, Vashi
Mumbai


________________________________
This Email may contain confidential or privileged information for the intended 
recipient (s) If you are not the intended recipient, please do not use or 
disseminate the information, notify the sender and delete it from your system.

______________________________________________________________________
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to