[rules-users] Some Questions related to execution

kashif10 kash452 at yahoo.com
Thu Feb 10 18:14:36 EST 2011



1) If I have a Rule definition

when
#conditions	

 Person( gender  == "Female")  
 or
 Procedure( needToDone == "ABC"))  


then 	
resultIds.add("id_1000");


Is it not short circuit If first condiiton matches?
I get twice time "id_1000" in resultIds.



2) How can I chekc the multiple existence
For Example:

How can I chekc that multiple instances of Procddure have alredayDone= "ABC
"

Rule Definition only chekc once:
Procedure (alredayDone == "ABC")








-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Some-Questions-related-to-execution-tp2470079p2470079.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list