[rules-users] Upgrading from Drools 2 to 5
Saleem Lakhani
Saleem.Lakhani at citizensfla.com
Fri Feb 11 16:43:49 EST 2011
HI,
Ok .. I did some tweaking and was able to get 1 simple rule to compile:
I think I just need to go over the drl and do some manipulations like:
1. Changed .drl ifles to .dslr
2. Did some rule syntax changes like:
[when]Coverage information exists=coverageTO : CoverageTO() à [condition][]Coverage exist= coverageTO : CoverageTO()
How do I write something like this in drools 5:
[when]myCondition=eval((coverageTO.getAmount()==null || coverageTO.getDeductible().length() <=0) && coverageTO.getOther().length()<=0)
Thanks for all the help;
saleem
From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Mauricio Salatino
Sent: Friday, February 11, 2011 3:52 PM
To: Rules Users List
Subject: Re: [rules-users] Upgrading from Drools 2 to 5
What kind of errors are you getting?
Can you share with us that information?
2011/2/11 Saleem Lakhani <Saleem.Lakhani at citizensfla.com>
Hi,
I need some help regarding upgrading our validation engine from 2.0 to 5.0, I have added the required jars and my java code is compiling but the DRL and DSL are not. Any suggestions?
Thanks,
saleem
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
--
- CTO @ http://www.plugtree.com
- MyJourney @ http://salaboy.wordpress.com
- Co-Founder @ http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110211/3144ceb4/attachment.html
More information about the rules-users
mailing list