Usage Processing Streams
Configure a usage processing stream for each combination of Service Type (VOICE, SMS, DATA, etc.), Source Platform, and Usage Record type (postpaid/offline, pre-rated, prepaid excluding OCS). When the Mediation service pushes usage records to the processing engine (rating), it identifies the configuration to execute the module sequence.
- View Existing Processing Streams for Usage
- View Details of a Specific Processing Stream
- Filter Attributes For The Processing Stream
- Sort attributes for the source platform
- Add a New Source Platform
- Copy To Create A New Stream Mapping Configuration
- Modify Existing Processing Stream Configuration
- Typical Processing Stream Setup Configuration
View Existing Processing Streams for Usage
- Click the Usage switch (Usage/Account toggle) in the navigation pane.
- Click the Mediation Setup option in the navigation panel to expand its submenu.
- Click the Usage Processing menu option.
- The system fetches and displays the existing usage processing streams for the client in a table.
This is shown in the following screenshot:

View Details of a Specific Processing Stream
- Navigate using “To view existing processing streams for usage” to see the list of configured usage processing streams.
- Select and click the ID link to open the drawer for viewing and modifying data.
Filter Attributes For The Processing Stream
- Service Type: Select the service type from the drop-down list. This is an exact match filter.
- Source Platform: Select the source platform from the drop-down list. This is an exact match filter.
Sort attributes for the source platform
- Id: Sort ascending or descending by the processing stream configuration ID.
- Name: Sort ascending or descending by the service type attribute.
- Source Platform: Sort ascending or descending by the source platform attribute.
Add a New Source Platform
- Navigate using “To view existing usage processing streams”.
- Click the Add Stream Mapping button towards the top-right corner of the activity pane. This will open a drawer to add details of the new usage processing stream. Add the data as follows:
- In the first field, enter the Id (optional attribute) for the Stream mapping configuration. If not provided, Allegro will auto assign an id. This id needs to be unique id.
- In the next field, select the Service type (mandatory) for the new usage processing stream by selecting the value from the drop-down list.
- In the next field Usage Record Type (mandatory attribute) to associate with the new source platform by selecting the value from the drop-down list. The most common usage record type should be POSTPAID for offline usage processing. The other values, some supporting future possibilities, are PRERATED, MANUAL, PREPAID, PREPAID-AAA.
- In the next field Source Platform (mandatory attribute), select the source platform from the drop-down list.
- In the next field Status (mandatory attribute), select the status value from the drop-down list. By default, the ACTIVE status is already selected.
- Next, press the Add Stream button to start adding sub-streams to the new usage processing stream set up. Follow the following steps:
- Select the Stream from the drop-down list. For a most common setup you will be required to Add Pre-processing, Rating and Post-processing streams and in that order.
- Next, set the status of the new stream, defaulted to ACTIVE by selecting the value from the drop-down list.
- Next, Click Add Module button to start adding modules to the sub-stream added.
- Set the Module (mandatory attribute) by selecting a value from the list of pre-configured modules.
- In the next field Status (mandatory attribute), select the status value from the drop-down list. By default, the ACTIVE status is already selected.
- Next, set the field for Log Container to true or false. This allows users to log the Allegro usage container object after this module is processed for a usage record. This should be used for test setup only so that you can see the incremental change performed by the module to the object.
- To add more modules for the sub stream, repeat steps-6.f.c
- To add more sub-streams to the new usage processing stream set up, repeat steps-6.
- Click the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
- Click the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the custom records.
Copy To Create A New Stream Mapping Configuration
Often the processing stream required for different sources are almost similar and hence a copy-to-create functionality allows to use an existing configuration to create a new mapping configuration. Execute the following steps for a copy-to-create configuration:
- Navigate using “To view existing stream mapping configurations”
- Click the Id link button with the ID highlighted in the Aria Blue color to open the drawer for that stream mapping configuration.
- Click the Copy-To-Create button at the bottom right-hand corner of the drawer. This will open another drawer for the new stream mapping configuration. It will blank out the mandatory fields that you would require to modify and copy the remaining fields.
- Review and enter/change the configuration values, same as with creating a new mapping configuration.
- Click the SAVE button at the bottom right corner of the drawer. This will push the changes to save the configuration using the backend API.
- Click the CANCEL button at the bottom right corner of the drawer to cancel all the data entry and go back to the main activity pane for the custom records.
Modify Existing Processing Stream Configuration
Steps to modify an existing source platform configuration:
- Navigate using “To view existing stream configurations”.
- Click the Id link highlighted in Aria Blue to open the drawer for modification.
- Modify attributes inline as needed (ID cannot be changed).
- Alternatively,
- Use the sequencing icon to reorder streams logically.
- Use the sequencing icon to reorder modules within a sub-stream.
- Delete a module by clicking the delete icon on its row.
- Delete a sub-stream by clicking the delete icon on its row.
- Use minimize/maximize buttons for sub-stream views
- Click the SAVE button to save changes via the backend API.
- Click the CANCEL button to discard changes and return to the main pane.
Typical Processing Stream Setup Configuration
A typical postpaid rating stream for a service type and source platform includes (in order):
- Pre-processing Stream
- Account lookup module—Module to look up the account based on the service id attribute.
- Balance lookup module—Module to lookup the balance unit to apply the processing impacts or use to consume/refer existing data like allowances and accumulators
- Router module—To route to the next module in a next stream
- Processing Stream
- Price Unit Analysis module—Price units are instances of the price offers for the subscription and service type. The module analyzes the price units and the price-offer referenced to short list the price offer that would apply for the usage record. In most cases, this is a lookup based on the usage-type. Please use the module that starts with PO. The other similar modules are for prepaid (roadmap)
- Rate Unit Analysis module—Analyze and evaluate the rate unit to be used for the usage record. The Rate Unit analysis will use the configuration and evaluate the expression to determine the quantity to rate for the usage record.
- Time Unit Analysis module—This is an optional module and required only if time unit configuration and pricing based on time unit configuration is set up. It will evaluate the time unit(s) that apply for the usage record.
- Zone Unit Analysis module—This is an optional module and required only if zone unit configuration and pricing based on zone unit configuration is set up. It will evaluate the zone from the zone unit that apply for the usage record.
- Rating module—This is the actual module that performs the rating using all the data collected thus far for a usage record. Please use the module that starts with PO. The other similar modules are for prepaid (roadmap)
- Post processing Stream
- Create Transaction Unit module—This module creates the monetized usage record, which is ready to aggregate and used for billing/invoicing
- Update Balance Unit module—This module updates the run time balance (includes currency, accumulator, allowance) of the account and subscription for the monetized usage record.
- Update Bill Unit—This is optional. Allegro internally creates a bill unit for a usage billing cycle. Allegro does not manage billing and invoicing and it only is to keep track of the usage of billing cycles
This is shown in the following screenshot:
