How relative event occurrence time windows are evaluated in SAS® Customer Intelligence 360 tasks


When configuring a relative occurrence period for event occurrence criteria in a SAS Customer Intelligence 360 task, it might be unclear how the system determines the reference point and evaluation window.

For example, when you specify Within the last 1 hour and the current evaluation time is 5:30, it is necessary to understand whether the system evaluates the following:

Similar questions apply when you specify the occurrence period in days, months, or years, including whether these periods represent a rolling duration calculated backward from the current evaluation time or fixed calendar periods.

Event Occurrence Details

In addition, you might wonder whether event counting starts only after task publication or activation, or whether it evaluates against existing historical event data (including events prior to activation).

Evaluation Window

All rolling‑window criteria in tasks are normalized by converting the specified time period into seconds. During rule evaluation, the effective time window spans from the current evaluation time (now) back to the specified duration expressed in seconds.

Here is an example:

Event: event_ABC
Frequency condition: At least 2 occurrences
Time window: Past 1 hour

In this scenario, the one‑hour window is converted to 3,600 seconds. When the rule is evaluated, it verifies whether event_ABC occurred at least two times within the interval starting at the current time and extending back 3,600 seconds.

You can define the time window in hours, days, or months. Regardless of the original unit, though, it is always converted to seconds.

Event Occurrence Time Window

The time period for event occurrences includes historical data and is not impacted by the date on which the task is activated. For example, if you activate a task on February 1st and use a default time period of one week, events from the previous week, which include the end of January, are evaluated during targeting.”

Note: The Coordinated Universal Time (UTC) time zone is used when evaluating event occurrence criteria.