Is it possible to use sliding window with 'exists' conditional element?
I need to write if pattern existing has ocuured in last one hour, how should
this be written?
For eg. following is the pattern with 'exists' CE which I need to check if
has occured in last one hr.
rule "Fault"
when
exists(
ErrorPatternData
(
(errorCode(=="1200007" || =="1190002" || =="1944" ||
=="2a23"))
)from entry-point ErrorEntryPoint
&&
ErrorPatternData
(
(errorCode == "76004101")
)from entry-point ErrorEntryPoint
)
then
System.out.println("Fault - Rule-Has Passed");
end
--
View this message in context:
http://drools.46999.n3.nabble.com/lua-tp4022851.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.