Syntax
set the scope state variable variable-name to property property-name direction multiplier duration granularity rounded rounding withgranularity2 granularity and save save-mode
Parameters
- scope
- One of the following:
- subscriber—Subscribers in the remote SPR.
- pool—Subscriber pool defined in the SPR.
- subscriber_local—Subscribers in the local MPE.
- session—Session variables that have a value as long as the session they are associated with is open.
- policy_evaluation—Policy evaluation variables that last only for the duration of the policy evaluation cycle.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- variable-name
- String.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.
Click OK.
- property-name
- String.
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:
- multiplier
- One of the following:
- multiple of (default) — the duration is added repeatedly until the result is in the future
- exactly — the duration is added once
- 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.
- granularity
- The offset is expressed in this granularity:
- days (default)
- months
- hours
- minutes
- rounding
- One of the following, indicating rounding up or down:
- granularity2
- The calculated date-time is expressed in this granularity:
- same (default)
- months
- days
- hours
- minutes
- save-mode
- One of the following:
- always (default)
- unless rejected
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
Offsets a scope date-time variable, either by the number of time units necessary to move the result into the future or by a specific number of time units.
- If the value of the first variable is in the future, either the exact offset, or one unit of the offset, is added.
- If the value of the first variable is in the past and you specify + multiple of, the duration is repeatedly added until the result is in the future.
- If the result of the offset is in the past (for example, if you specify + exactly 1 day and the result is still in the past), the action is ignored. You can specify that the property is not saved if the policy rejects the message.
- If the value of the second variable is null then the action is ignored.