[rules-users] Object parameter
Scott Reed
sreed at spamcop.net
Fri Apr 13 10:26:28 EDT 2007
Anstis, Michael (M.)'s message received 4/13/2007 6:20 AM:
> You need to change your rule:-
>
> rule "userrole"
> when
> user1: BnUserValue(name : name, creationDate : creationDate)
> and
> ActiviteOut : BnNodeValue( BnRole: *_b_*nRole )
> and
> lien: BnEdgeValue(id : id)
> then
> System.out.println("oui ça marche");
> end
This is a work-around for a bug, right? Or does Drools intentionally
require that references to fields start with a lower case letter? If
that's the case, I would consider it a conceptual bug to require field
references to conform to any coding standard.
Scott
More information about the rules-users
mailing list