Hi,
I'm using drools 5.4.
This is my current rule looks like:
/
package resouces.rules
import java.util.*;
rule "King User_BNG"
agenda-group "User Validation_BNG"
salience 6
no-loop true
when
map : Map()
eval((Integer) map.get("Age") >= 40 &&
map.get("Nationality").toString() ==
"Indian" )
then
map.put("King User_BNG_Message","King User");
System.out.println("RULE : "+drools.getRule().getName() );
end/
--
View this message in context:
http://drools.46999.n3.nabble.com/Drools-5-4-DRL-How-to-use-equals-or-equ...
Sent from the Drools: User forum mailing list archive at
Nabble.com.