[rules-users] Need drl help for arraylist
arup
arup4u2007 at gmail.com
Wed Apr 4 06:15:01 EDT 2012
Hi all,
i need to write a rule to compare a String with a list of Strings (say
String[] nameList).
Person()
{
String name;
}
Values()
{
String[] nameList = new String[]{ "abc", "abcdef" }
}
how can i write the rule??
when
name of the person is same as any names in the nameList
then
do .....
i have tried different rule but still not able to get the desired output.
Thanks a lot in advance.... :) :) :)
--
View this message in context: http://drools.46999.n3.nabble.com/Need-drl-help-for-arraylist-tp3883683p3883683.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
More information about the rules-users
mailing list