Syntax
where the subscriber field-name direction duration granularity1 rounded rounding with granularity2 granularity is datetime-compare datetime using time-zone
Parameters
- subscriber
- One of the following:
- subscriber (default)—Individual subscriber
- pool—Subscriber pool defined on the SPR
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- field-name
- String representing a datetime.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- direction
- One of the following, indicating a time offset in the future or past:
- duration
- Positive integer.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- granularity1
- The calculated datetime is expressed in this granularity:
- days (default)
- months
- hours
- minutes
- rounding
- One of the following, indicating rounding up or down:
- granularity2
- Rounding, either up or down, is expressed in this granularity:
- same (same as granularity1)
- months
- days
- hours
- minutes
- datetime-compare
- One of the following:
- after (default)
- before
- at or before
- at or after
- datetime
- One of the following:
- A policy variable.
- now (default)—The local date-time.
- A date-time in the format: yyyy-mm-ddThh:mm:ss+UTCoffset.
Note: Enter the date-time directly into the field or click the calendar icon for assistance:
- Date—Select the date from the calendar interface.
- Time—Select hh:mm:ss.
- UTC Offset—Select number of hours before or after UTC time to start.
- now—Select for the local date-time.
- Time only—Select to use the time only.
- A JavaScript code snippet—Enter a JavaScript statement that evaluates to a date-time in the format: yyyy-mm-ddThh:mm:ss+UTCoffset. Click Evaluate as expression to bypass date-time format validation.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- time-zone
- One of the following:
- CONFIGURED LOCAL TIME (default)—Calculate the time from the location configured for this MPE device
- SYSTEM LOCAL TIME—Calculate the time from the location of this MPE device
- USER LOCAL TIME—Calculate the time from the location configured for the user equipment's location
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
Description
Triggers a policy that is evaluated based on the result of a comparison between a base date-time value and an offset against either the current date and time or another date-time for the subscriber or subscriber pool. If time-zone information is available from the user equipment, time can be calculated from either the MPE device or the user equipment's location.
Example
where the FamilyPlanGold PromoEnrollTime + 10 days rounded up with same granularity is before now using configured local time