[rules-users] Problem in executing Rule in Drools Guvnor for date-effective attribute

Pardeep Ruhil Pardeep.Ruhil at lntinfotech.com
Tue Jul 27 06:59:51 EDT 2010


Hi,
I have created a  rule in drools-guvnor and I have given date-effective parameters in that.
My rule looks like when I click on view source as :
1.

|

rule "ProfTaxPradeep"

2.

|

    date-effective "28-July-2010 "

3.

|

    dialect "mvel"

4.

|

    when

5.

|

        empInfo : EmplInfo( state == "KA" )

6.

|

        profTaxResult : ProfTaxResultPradeep( )

7.

|

    then

8.

|

        profTaxResult.setProfTaxResult( profTaxKA_pradeep(empInfo.basicSal,"10000:15000:999999999", "00:150:200") );

9.

|

end


Now when I created a test scenario in Drools-Guvnor, it is not running successfully.
I have given the simlulated time as Friday, July 30, 2010 12:00:00 AM
But it is not running successfully.
Without using the date-effective attribute my test scenario executes properly.

Please tell me if I am doing anything wrong in this.

Thanks & Regards
Pradeep Ruhil

________________________________
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.

______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100727/305c9bbc/attachment.html 


More information about the rules-users mailing list