Hi everyone,
I have a custom trigger implemented for Generic windows. The value which is
responsible for triggering the window evaluation keeps on incrementing from
some lower value anywhere between 0 to 50 to a certain maximum depending on
the time of the day.
The only solution which I can see for now is to cache the last value and
check with the next value.
//within the onElement function
if(cachedvalue > currentValue) {
return TriggerResult.FIRE;
}
return TriggerResult.CONTINUE;
The problem is the event which fires the trigger becomes a part of the
window which affects my computation. Is there any way I can exclude the
last event which fires the trigger to be a part of the next window.
--
Thanks & Regards,
*Abdul Salam Shaikh*