Message Workspaces

Message workspaces are temporary workspace MDCs that are created during message processing each time a new rating context is instantiated and that disappear after the rating phase finishes.

Message workspaces include the following temporary workspace MDCs:

  • MtxChrgMsgWorkspace — A temporary workspace MDC created when the rating context is instantiated and available only during the rating phase of processing a message, for example:
    • When offers are applied and pricing components are executed.
    • When charging takes place and balances are impacted.
  • MtxChrgCompWorkspace — A temporary workspace MDC based on the MtxChrgMsgWorkspace and available only when a pricing component or offer is being considered.
  • MtxChrgSegWorkspace — A temporary workspace MDC based on the MtxChrgMsgWorkspace and available only when a rating segment is being evaluated.

Using Workspace MDC Fields

You can use workspace fields when there is a rating context:
  • As source or target fields in data modify actions that are assigned to data modify profiles.
  • (MtxChrgMsgWorkspace MDC fields) During event generation for event field mapping.
  • (MtxChrgMsgWorkspace MDC fields) During notification generation, only for those notifications generated during rating, such as MtxLastUnitNotification.
  • During offer activation operation when the activation pricing components are executed and when charging takes place and balances are impacted.

PreRating and PostRating

During PreRating, the MtxMsgWorkspace exists only while the PreRating generator is executing, but disappears when the call outs themselves are made. A new and empty workspace is instantiated when the generator is re-entered.

Similarly with PostRating, there is a rating context and workspace while the PostRating generator executes, but it disappears while the announcements assigned to the PostRating profile play.

This means that message workspaces are unable to pass information between prerating and rating, or between rating and postrating, and therefore workspace fields cannot be used in data modify actions assigned to PreRating or PostRating profiles.