I am trying to to detect loitering within a geofence. The incident needs to be detected after a certain number of seconds have elapsed. To do this, I had set up two incident detectors, the first one to check if the geoevent is inside a geofence. The incident type is cumulative and the expiry time is set to 500 seconds. I then fed this into the second incident detector and for the opening condition, I set duration > 300, incident type to "Point in Time" and expiry time to 500s. This did not work. Did I misinterpret duration time as the amount of time the geoevent is inside the geofence? How can I get this to work? Any help would be much appreciated.