Let me clarify my intentions: the lookupDAO.getLookupValues(..) returns an
ArrayList of String values. I need to make sure that SH_CODES attribute
(String) of the RKEM_MOVE object exists in that list of Strings. Having
trouble with this syntax:
when
// Get a list of Strings in ArrayList form from the DB table
$lookupList : List() from lookupDAO.getLookupValues( "MILT.CUSTNO" )
// Now do the comparison...
RKEM_Move (CUSTOMER_REFERENCE_NUMBER matches "^HX.*",
ACTIVITY_LOCATION matches "^US.*",
$lookupList contains SH_CODE) // <-- if
SH_CODE exists in the
$lookupList from DAO...
then...
System.out.println("Found a Match Rule - about to inovke
Service...");
end
Please help -
James
Edson Tirelli-3 wrote:
>
> I'm not sure I understood what you are trying to do
--
View this message in context:
http://www.nabble.com/Rules-with-Lookup-Tables...-tf3329159.html#a9374192
Sent from the drools - user mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users