As in Java - it's as simple as that. If you have any problems, report them.
-W
On 21/01/2014, anij <anijit.sarkar(a)gmail.com> wrote:
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.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users