[rules-users] How to check if a property IS null ?

Hendy Irawan hendy at soluvas.com
Fri Aug 3 07:05:43 EDT 2012


I'm trying to check if property is null, but the rule is never fired :

Sample :

rule "Cancel"
    when
        $action				: CancelProductBookingDetail( created == null ) 
    then

end

(created is of type java.util.Date)

Any help is appreciated.

Hendy



--
View this message in context: http://drools.46999.n3.nabble.com/How-to-check-if-a-property-IS-null-tp4019014.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list