Hi,

  If you are using 4.0,

Nodes( name == "CHECK FUNDS", list contains "admin" )

 Hope it helps.

   Edson


2007/5/20, fakhfakh ismail <[EMAIL PROTECTED]>:

hello,
I have an object has an attribut type List of String
I when to verify if a String exist in List how can I do to check it?

rule "machin"
when
 $CurrentAct : Nodes(name =="CHECK FUNDS", $List:list)
// how can I know if "admin" exist in list
then
System.out.println("admin exist");
end
thank u for your help
Best regards
Ismail

------------------------------
Ne gardez plus qu'une seule adresse mail ! Copiez vos 
mails<http://www.trueswitch.com/yahoo-fr/>vers Yahoo! Mail


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users




--
 Edson Tirelli
 Software Engineer - JBoss Rules Core Developer
 Office: +55 11 3529-6000
 Mobile: +55 11 9287-5646
 JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to