Time window weirdness

by Jim Ramsay

Version 1 (December 7, 2016)

Download (102 downloads)

Demonstrates a potential bug in the time window block: if you enter a wait part-way through the window (and you did not previously enter that same block before the window), the end is never detected.

This sets up 2 flows that run identical flows except for the "start" variable. This first flow sets the start to 5 seconds from now. It behaves fine: the time window waits for the start, and then waits for the end, and then the flow exits.

The second flow is the issue, it. Sets start to 5 seconds ago, placing itself 1/2 way through the window. It enters the time window check but never exits.