dear sir, When I run the rules,it's error.I think it because that I used "and" and "or" in the "not" conditional element. One condition of rule which I wrote is " not state_thresh(transitionid==411, stateid==283,ruleid==47, v_sta_evtthresh :thresh, v_sta_cnt : count, customerid==v_customerid, srcaddress==v_srcaddress, v_sta_threshtimefrom : timefrom ->(new Integer(v_timestamp.intValue()+10).intValue()>=v_sta_threshtimefrom.intValue()), v_sta_threshtimeto : timeto, v_sta_timeout1 : timeout ->((v_timestamp.intValue()<v_sta_timeout1.intValue())||((v_timestamp.intValue()<v_sta_threshtimeto.intValue())&&(v_sta_cnt.intValue()>=v_sta_evtthresh.intValue()))))" When I delete this conditional element,it works. What can i do?I want to add this fact only if the fact does not exist. And there is some limit in this facts. jiahua Huang 2007-04-29
--------------------------------- 雅虎免费邮箱3.5G容量,20M附件!