Multi-Valued Evaluator Operator

The Multi-valued Evaluator Operator counts the number of values which are in a multi-valued property. If the multi-valued property is of numerical type, the Multi-valued Evaluator Operator calculates the sum and the average of all the numerical values which are in the multi-valued property and determines the smallest and the greatest of these numerical values.

Note: Use the Property Type Convertor Operator to convert an existing property into a multi-valued property.

Example   

To calculate a price that depends on a number of recipients, the rating branch of a price plan needs two components:  

To identify the recipients of the service providers, a Filter Operator tests their address. The Filter Operator is configured to create one multi-valued property per service provider: MeteoRecipients, NewsRecipients, ExchangeRecipients, SpotsRecipients, TrafficRecipients and TaxiRecipients. All the addresses that do not match a comparison are added to the property "RejectedAdresses".

The configuration of the Filter Operator relating to the service provider Meteo is the following:

Property Name

Comparator

Comparison Value

MeteoRecipients

ends with

@meteo.com

In this example, it is supposed that once the Filter Operator have completed the comparisons:

Once the Filter Operator have completed its tasks, the Multi-Valued Evaluator Operator counts:

Identification area

Name: Type the name of the component (mandatory).

Description: Allows you to type the description of the component (optional).

Definition tab

Property Name: Provides the list of multi-valued properties of the plan. Select the multi-valued property that you want to evaluate.  

Count Property Name: Allows you to name the property that retrieves the number of all the string values which are in a multi-valued property of string type.

Sum: This area is only available if you want to evaluate a multi-valued property of numerical type.

Minimum: This area is only available if you want to evaluate a multi-valued property of numerical type.

Maximum: This area is only available if you want to evaluate a multi-valued property of numerical type.

Average: This area is only available if you want to evaluate a multi-valued property of numerical type.