Event A then Event B. If there is no Event B after 5 min of A then trigger rule.
when
time1:Event() from entry-point xx
not (Event(this after[ 0,5m ] time1) from entry-point xx)
then
...
end
For realtime events that works fine, but in real life you have events coming in delayed, eg. from an interface.
Example: Event A time: 01:00 (mm:ss) but received at 02:00 Above rule will trigger at 07:00, but the business logic would require it to be triggered at 06:00
How do I handle this kind of requirement ?