I'm trying to formulate a condition like:
$se : StartEvent()
from entry-point "stream"
$fe : FinishedEvent(exchangeId == $se.exchangeId, this after[0s,30s] $se)
from entry-point "stream"
not AbortedEvent(exchangeId == $se.exchangeId, this after[0s,30s] $se)
from entry-point "stream"
A compile error is issued due to the use of 'not' on the last clause. Is
this not supported? Is there another way to obtain this behavior.
Even this simple clause is not value:
not AbortedEvent() from entry-point "stream"
----
The corresponding esper for this would be something like:
select * from pattern [every s=StartEvent ->
(f=FinishedEvent(exchangeId = s.echangeId) where timer:within(30
sec)
and not AbortedEvent(exchangeId = s.echangeId) where
timer:within(30 sec)]
--
View this message in context:
http://www.nabble.com/Not-conditional-%27not%27-for-event-streams--tp2521...
Sent from the drools - user mailing list archive at
Nabble.com.