The <runUntilDeactivated> element specifies that the time window continues to be open until the rule is deactivated. Therefore, the time window for this rule starts when the rule begins processing, and it does not stop until the rule is deactivated or removed from the rule set, or the Active Correlation Technology engine shuts down.
Rule type | Rule behavior when <runUntilDeactivated> is coded |
---|---|
collection | The collection rule accepts the first event that meets its event selection criteria, and it continues to accept and process events until the rule is deactivated, at which time the actions that are defined within the <onTimeWindowComplete> element are run, immediately followed by the actions that are defined within the <onDeactivation> element. |
computation | The computation rule accepts the first event that meets its event selection criteria, and it continues to accept and process events until the rule is deactivated, at which time the actions that are defined within the <onTimeWindowComplete> element are run, immediately followed by the actions that are defined within the <onDeactivation> element. |
duplicate | The duplicate rule accepts the first event that meets its event selection criteria, and it continues to accept and process events until the rule is deactivated, at which time the actions that are defined within the <onTimeWindowComplete> element are run, immediately followed by the actions that are defined within the <onDeactivation> element. |
sequence | The sequence rule accepts the first event that meets
its event selection criteria, and it continues to accept and process events
until either of the following circumstances occurs:
|
threshold | The threshold rule accepts the first event that meets
its event selection criteria, and it continues to accept and process events
until either of the following circumstances occurs:
|
timer | After the timer rule becomes active, it does nothing until it is deactivated, at which time the actions that are defined within the <onTimeWindowComplete> element are run, immediately followed by the actions that are defined within the <onDeactivation> element. The repeat attribute on the <timerRule> element is ignored. |
<runUntilDeactivated> has no attributes.
<runUntilDeactivated> contains no elements.