I'd also use the int 8 instead of the String 8 :)
--
View this message in context:
http://drools.46999.n3.nabble.com/String-length-check-tp3502269p3505833.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing
@Davide, I'm using the guided editor and I am putting the value as 8 But the
generated source shows 8. Not sure of this is a defect in Drools or
something that I'm doing incorrectly.
--
View this message in context:
http://drools.46999.n3.nabble.com/String-length-check-tp3502269p3506079.html
Guvnor used to escape all literals with quotation marks before 5.2.
There have been numerous fixes to the BRL Guided Editor for 5.2 onwards. I
would definitely recommend an upgrade.
Can you please advise if you used an expression for your nested accessor or
sub-field constraints?
Thanks,
Mike
I can't try in mvel/drools right now, but String has length(), not size.
On Sat, Nov 12, 2011 at 1:29 PM, lansyj lans...@gmail.com wrote:
Hi folks,
I'm trying to create a guided rule which treats customers differently based
on the length of their customer ID. The generated rule source is as