[rules-users] Question on rule evaluation...

jdepaul jjdepaul at us.ibm.com
Mon Mar 12 14:18:18 EDT 2007


I have a rule that uses the "from" DAO keyword...  my question is:  given the
rule structure below, will the LookupTableResult be evaluated even if the
other two preceeding conditions (CustRefNbr and ActivityLocation) are NOT
met:

rule "GATE-IN Match for 001695568GP"
	when
		$rkem_move : RKEM_Move ($partnerID : partnerID, $activityID : activityID,
$sh_code : SH_CODE)
		RKEM_Move (CustRefNbr matches "^HX.*", ActivityLocation matches "^US.*")
			LookupTableResult ( resultValue == 1 ) from
lookupDAO.getLookupTableResultFROMLookup($partnerID, 
																		 						 $activityID, 
																		 						 "MILT.CUSTNO", 
																		  						 $sh_code )
	then 
		System.out.println("I matched this rule, yippie!!!");
		
end


-- 
View this message in context: http://www.nabble.com/Question-on-rule-evaluation...-tf3391276.html#a9440149
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list