About Pattern parameters
When you build a Pattern component, you select the pattern type. The options are:
*
*
*
The All of these events in sequence x times pattern type assumes that in a sequence of events, it is likely that more than one occurrence of an event in the sequence may be initiated before the sequence has completed. Detect makes the assumption that the most recent occurrence of the event sequence is the one that is significant to firing the pattern.This assumption guarantees the most timely firing for patterns looking for events in sequence.
If you select All of these events or All of these events in sequence x times, you must set the following parameters.
*
Time Interval—the unit of measurement
*
Quantity— the meaning of this parameter varies depending on whether the Time Interval is for a floating or relative time frame
Together, these parameters define the time period during which the complete pattern must occur.
About floating time frames
Time intervals of hour, day, week, month, and year are used to create a floating time frame, where the occurrence of the first event in the pattern marks the start of the time frame. The complete pattern must occur within the selected number of time units.
For example, assume the time interval is day and the quantity is 3. The first event of the pattern occurs. All remaining events must occur within 3 days in order to complete the pattern.
About relative time frames
Time intervals of day of the week, day of the month, day of the quarter, and day of the year are used to create a relative time frame. With a relative time frame, the Pattern component starts to watch for pattern events at a time determined by the selected quantity, and the complete pattern must occur within the selected time interval. With a relative time frame, the meaning of quantity is relative to the selected time interval, as illustrated in the following table.
For example, assume the Time Interval is day of the week and Quantity is 3. The pattern time frame is Tuesday through Monday. The first event of the pattern must occur no earlier than Tuesday. In order to complete the pattern, the remaining events must occur by the following Monday.