Create a Balance Distribution Normalizer
This normalizer defines ranges of balance or meter quantities that can be associated with different decision results.
Before you begin
About this task
Note: When the normalizer compares the available balance amount, the available amount
calculation includes all valid rollover balances. Filters are also not applied
during balance normalizations and do not affect the results.
Procedure
- In Normalizers, click New Normalizer.
-
In Create New Normalizer:
- In Name, enter a unique name.
- (Optional) In Description, enter descriptive information about the item.
- (Optional) In External ID, enter any alphanumeric character to serve as a unique ID on this pricing object. The external ID can be used for any reason that is meaningful to your implementation of MATRIXX Engine. External IDs are saved to the pricing configuration file and loaded into the Pricing database.
- From the Normalizer Template list, select the name of the normalizer template that implements the normalization algorithm you want to use for this normalizer.
- Click Create.
-
In Start Date/Time, use the date
picker to select the date on which the object becomes active in the Pricing
database and is first available for use, or enter the date in the format
YYYY-MM-DD.
Optionally, enter a time for when the object becomes active. The default start
date/time is 2000–01–01 00:00:00. If applicable, the range in which the start
date/time must fall is listed. For example:
- Select a date on or before 2021–12–01.
- Select a date on or after 2020–01–27.
- Select a date between 2000–01–02 and 2021–10–04.
Note: If you are creating a new revision of this object, the start date/time must be after the start date/time of the preceding revision and before the start date/time of the next revision. If you are making a copy of this object, the start date/time is not copied. The new object is the first revision, so it has the default start date/time of 2000–01–01 00:00:00. - Click Select Balance.
-
In Select Balance:
Note: If the balance is a periodic balance and you are normalizing on a earlier balance entry, you can specify only a balance.For information about balances and balance tags, see the discussion about balances.
-
If the balance to normalize has any associated quantity units, in Units, select the unit in which to perform
normalizations. This unit determines the balance attribute boundaries, for example, 1-10 megabytes, 10-20 megabytes, and so forth. If this unit is different from the balance unit,
rating converts the balance unit to this quantity unit before normalizations.
Note: If the selected balance distribution normalizer references a turnstile meter, the Units value is none because a turnstile meter counts a usage or charge occurrence and does not have a quantity unit.
- Skip the Default, Value if Field Not Present, and Value if balance not present settings for now because you have not defined the parameter values yet.
-
In
Normalized Value, select the type of balance
amount to use during normalization:
- Balance Amount — Uses the current amount in the specified balance. If the subscriber's wallet holds multiple valid balances, the value used is the sum of all current balance amounts in the valid balances.
- Available Amount — Uses the available amount in the specified balance. This is equal to the credit limit minus the current balance amount, or 0 if the current amount is above the credit limit. If the balance is a virtual balance that aggregates to a group G/L balance, the value used is the minimum of the available amount in the balance and the available amounts of all balances above it in the hierarchy. If multiple valid instances of the balance exist, the value used is the sum of the available amounts for the individual balances.
-
(Optional) Select where to retrieve the balance from. You can define either a tier or a tier parameter.
- In Tier, select the name of a group tier.
- In Tier Parameter, select the parameter used to specify the group tier.
Note: These options are only available when normalizing on the balance amount. -
If any metadata fields were defined in the normalizer template, they are listed under Default Metadata. For each piece of metadata, enter the fixed value to be associated with a
result. The value entered must correspond to the configured data type. This value is used in the following ways:
- No default value is defined in the normalizer template and --default-- is used to define the metadata value in the normalizer instance using the Edit Normalizer Values dialog.
- The default value is defined in the normalizer template under the Values table as --default--.
-
Click or hover over the Rows menu icon and select Edit Values to open Edit Normalizer
Values. You can add new values manually or by
selecting a normalizer value list.
Note: If using a normalizer value list, metadata is not supported. Therefore, any metadata listed under Default Metadata in Edit Normalizer does not display as columns in the Values table in Edit Normalizer Values if Use Normalizer Value List is selected.
-
If defining values by selecting a
normalizer value list, perform the following steps for each balance range to
create:
-
If the normalizer template does not define any normalizer values and you are not using a
normalizer value list, then you can define the values within the normalizer instance by clicking Edit Values to open Edit Normalizer
Values and performing the following steps for each balance range to create:
- Click Save.
-
Click or hover over the Rows menu icon and select Add Row.
- If the normalizer is using a normalizer value list, the first item in the list is added.
- If the normalizer is not using a normalizer value list, an empty row is added.
Any metadata defined in the normalizer template is displayed as columns in the Rows table. - Click the cell under Name and select a parameter value for the lowest range.
-
Click the cell under Start and keep -infinity as the start value.
This is the lower boundary.
-
Click the cell under End and enter the end value for the range.
This value is not included in the range.
-
Click or hover over the Rows menu icon, select Add Row:
- If the normalizer is using a normalizer value list, the first item in the list is added.
- If the normalizer is not using a normalizer value list, an empty row is added.
Any metadata defined in the normalizer template is displayed as columns in the Rows table with the values defined in Edit Normalizer Values. -
(Optional) Click or hover over the Rows menu icon and select Validate to check the normalizer values for errors.
Validation checks for errors caused by duplicate rows, gaps in ranges, overlapping ranges, and any other missing or invalid configurations. To perform the validation, My MATRIXX sorts the rows in the rate table according to the first parameter value.
- In Value If Field Not Present, select a parameter value to use when the field value is not set at the time of rating.
- (Optional) In Default, select a default parameter value to use when the incoming value does not match any of the defined values. If your normalizer has no rows, it must contain a default value.
-
In Value If Balance Not
Present, select a balance range to use when the required balance
is unavailable at the time of rating.
Rating checks this balance to decide how to impact another balance. For example, if you are granting a subscriber an asset based on a loyalty points balance and the loyalty points balance is not available, use this value to decide how much to grant.