[rules-users] Problem with “after” operator

Davide Sottara dsotty at gmail.com
Wed Jan 11 21:53:21 EST 2012


Quoting the Drools fusion manual:

"The after evaluator correlates two events and matches when the temporal
distance from the current event to the event being correlated belongs to the
distance range declared for the operator.

The temporal distance interval for the after operator is optional:

If two values are defined (like in the example below), the interval starts
on the first value and finishes on the second.
If only one value is defined, the interval starts on the value and finishes
on the positive infinity.
*If no value is defined, it is assumed that the initial value is 1ms and the
final value is the positive infinity."*

try changing after --> after[0ms] and see if this solves your problem.


--
View this message in context: http://drools.46999.n3.nabble.com/Problem-with-after-operator-tp3620746p3652562.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list