Thanks a lot for your reply :)
We already tried this approach associating a timer trigger with a period almost matching the session window time-gap. We were hoping to get a trigger execution matching our buffer time for the data in the window. It also matches the selected time gap.
The behaviour we have observed is that the trigger is fired:
1) when the first event arrives at the stream and opens a new session window
2) when the timer timeouts
3) and then periodically even if no other matching segments for the session key arrive in the stream to extend the window session.
We are not expecting invocation number either 1) or 3) Probably because of our misunderstanding of the way Onyx works. With this behaviour we can implement the solution by using an external key-value store to disambiguate the sequence of trigger executions but having some additional trigger policies or a way of filtering the status of the window would make things easier.
Thanks again