[rules-users] object parameter object

fakhfakh ismail ismail_info2005 at yahoo.fr
Thu Apr 12 16:49:52 EDT 2007


Hello,
First sorry for my bad english
I have a problem when I execute this code

rule "userrole"
when
  user1: BnUserValue(name : name, creationDate : creationDate)
   and
  ActiviteOut : BnNodeValue( BnRole: BnRole )
  and 
  lien: BnEdgeValue(id : id)
then
 System.out.println("oui ça marche");
end

 BnRole is attribut type ; BnRoleValue (class declared)
when I remote this attribue(BnRole) this code work 
all the attribut which I set with type different to classique type (String, Integer, Date, List,... ) implique an error execution I don't know why I import all my class and I'm sure that class haven't error
  the error is
  the error is
  org.drools.rule.InvalidRulePackage: Unable to create Field Extractor for 'BnRole'
  
thank you for your help
Best regards
Ismail

   
   
   
   
   

             
---------------------------------
 Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070412/60a09db0/attachment.html 


More information about the rules-users mailing list