The <stopAfter> element specifies the duration of time that a rule instance, as defined by the <groupingKey> element, is to remain active once it becomes active. After this duration of time, the rule instance is to be deactivated.
The <stopAfter> element has the following attributes:
Name | Description | Data type | Required? |
---|---|---|---|
duration | Specifies the amount of time for the duration. The data type of this attribute is dependent on the value of the unit attribute. |
|
Yes |
unit | Specifies the unit of time to use. The valid values
for this attribute are:
|
xsd:string | Yes |
Coding ISO-8601 as the value for the unit attribute indicates that the value of the duration attribute is coded according to the ISO 8601 standard for specifying a time duration as one string. The standard XML schema data type specification uses ISO 8601 to provide a data type called duration. This data type is described in detail at http://www.w3.org/TR/xmlschema-2/#duration.
The format for the duration data type in the standard XML schema is the following string:
<stopAfter> is contained within the <activateOnEvent> element but only when <activateOnEvent> is coded within the <activationByGroupingKey> element.
<stopAfter> contains no elements.