15 Generic Selectors

A generic selector is a set of rules that map service and event attributes and expressions to a result. You use a generic selector in a charge to apply prices based on the rule results.

To work with generic selectors, see the following topics:

For overview information, see "About Selectors" in PDC Creating Product Offerings.

Creating a Generic Selector

To create a generic selector:

  1. In the Pricing section of the navigation pane, under Models and Selectors, click Create Generic Selector.

    The Create Generic Selector page appears.

  2. Specify general information for the generic selector. See "Specifying Generic Selector General Information".

  3. Select the attributes that you want to use in the rules for the generic selector. See "Selecting Rule Attributes".

  4. Create the rules for the generic selector. See "Creating Generic Selector Rules".

  5. When you have completed adding the rules, click Finish.

    The overview page for the generic selector appears.

Specifying Generic Selector General Information

To specify general information for the generic selector:

  1. In the General Information section, enter a name and description for the generic selector.

  2. (Optional) If you plan to use service attributes in the generic selector rules, select the desired service from the Service list.

  3. (Optional) If you plan to use event attributes in the generic selector rules, select the desired event from the Event list.

  4. From the Pricing Profile list, select the Convergent Usage pricing profile.

Selecting Rule Attributes

Select the rule attributes that you want to use to define generic selector rules.

To select the rule attributes:

  1. In the Select Fields for Rules section, click the Add icon in the table.

    The Select Field dialog box appears.

  2. Select the fields that you want to use to define generic selector rules and click OK. Hold down the Ctrl key to make multiple selections.

    The selected fields are added to the table with default values.

    The same fields are used for all the rules in the generic selector. You can override the default values and set specific values in the rule to limit the fields that you want used in a rule.

  3. In the Value Type column, select the type of value the field contains.

    • If you select Value of Another Field, in the Default column, select the other field.

  4. In the Default column, enter the default value for the field.

    An asterisk (*) specifies the field can contain any value.

Creating Generic Selector Rules

To create generic selector rules:

  1. (Optional) In the Rules section, from the Effective Period list, click Manage to add or change an effective period.

    The effective period indicates when the rules in the generic selector are valid.

    The default effective period starts immediately and never ends.

  2. Click the Add icon in the table to add a new rule.

    A row is added to the table.

  3. (Optional) In the Rule Name column, enter a name for the rule.

  4. In the subsequent columns, enter or modify the values for each of the rule attributes that you selected previously.

  5. In the Results column, enter a string value to map to this rule. For example:

    • If the general selector rule determines that this is a Closed User Group (CUG) call, you could name the result ClosedUserGroup.

    • If the general selector rule determines that this is a call to friends and family, you could name the result Friends&Family.

    • If the general selector rule determines that this is a call with low QoS, you could name the result LowQoS.

    The result is used in a charge to guide to a price.

The rules are evaluated in the order they are listed in the table. You can select a rule and move it up or down if you wish to reorder the rules. See "Working with Tables".

Create Generic Selector Page Reference

Use the Create Generic Selector page to create rules that associate event, service, and account attributes and custom rules with a result string.

For a description of the fields, see:

General Information Section

Use the General Information section to provide general information for the generic selector.

Field Description

Name, Description

Enter a unique name and a description for the generic selector.

Service

(Optional) If you plan to use service attributes to create generic selector rules, select the desired service.

Event

(Optional) If you plan to use event attributes to create generic selector rules, select the desired event.

Pricing Profile

Select the Convergent Usage pricing profile.

Select Fields for Rules Section

Use the Select Fields for Rules section to select the fields that you want to use in the generic selector rules.

Column Description

Field

Displays the fields that you have selected to define price selector rules.

The same fields are used for all the rules in the price selector. You can override the default values and set specific values in the rule to limit the fields that you want used in a rule.

Value Type

Select the type of value that the field contains.

  • Single Value: The field contains a single value.

  • Value of Another Field: The field contains the value of another field. If you select this option, in the Default column, select the other field.

Operator

Displays the relationship between the rule's default field value and the value in the account, service, event, or custom rule field.

Equals or Matches appears next to the field names when you define the rules. The value of the field in the subscriber, service, event, or custom rule must match the value of the field in the rule.

Default

Enter a default value for the field.

If the operator is Equals, an asterisk (*) specifies the field can contain any value. If the operator is Matches, a dot followed by an asterisk (.*) specifies the field can contain any value.

If the field is limited to predefined values, a list of values appears. Select a value from the list.

If Value of Another Field is selected for Value Type, the Select Field dialog box appears. In the Select Field dialog box, select the field you want.

Rules Section

Use the Rules section to define generic selector rules and associate each rule to a result that used in a charge to guide to a price.

The rules are evaluated in the order they are listed in the table in this section. The generic selector returns the result of the first rule that matches the values in the event.

You can select a rule and move it up or down if you wish to reorder the rules.

Field or Column Description

Effective Period

(Optional) Set the start and end dates to specify the period when the rules in the generic selector are valid.

The default effective period starts immediately and never ends.

From the Effective Period list, click Manage to add or change an effective period. See "Manage Effective Periods Dialog Box".

Priority

Enter the rule's priority.

This table displays rules in numerical order, starting with priority 1. The rules are evaluated in order of priority.

Reorder a rule in either of the following ways:

  • Click the Move Rule Up or Move Rule Down icon.

  • Change the rule's priority number. PDC moves the rule to its new place.

The priority numbers of all rules affected by the move are changed.

Rule Name

(Optional) Enter a name for the rule.

Field Name

(Optional) Select an operator and enter a value.

You can select one of the following operators:

  • Equals or Not Equals

  • In or Not In

  • Matches or Not Matches

Note: The NOT operators can be used only if you are using ECE for the usage charging.

To apply the rule to a subscriber, service, or event, the field value must match the corresponding subscriber, service, or event value.

Note: An asterisk (*) matches all values in the corresponding subscriber, service, or event field.

Results

Enter a string value to map to this rule. For example:

  • If the general selector rule determines that this is a Closed User Group (CUG) call, you could name the result ClosedUserGroup.

  • If the general selector rule determines that this is a call to friends and family, you could name the result Friends&Family.

  • If the general selector rule determines that this is a call with low QoS, you could name the result LowQoS.

The result is used in a charge to guide to a price.