Using a charge to configure the initialization of a shared counter

You configure a reusable charge that defines the initialization of a shared persistent counter when it is created in a provider contract.

This charge must include:

Caution: Do not initialize the same counter twice.

To create a reusable charge dedicated to the settings initializing the shared counter

  1. Create and set up a reusable charge.

  2. Add a one-shot rate component, a persistent counter, and a parameter to the charge. Note that the parameter enables you to initialize the counter value at provider contract level.

  3. Set the Event Name to Activation in the Definition tab of the One-Shot Rate component.

  4. Add a Counter Operator component to the One-Shot Rate branch tree.

  5. Set the counter to the value of the parameter in this Counter Operator component (*).

(*) See the online Help of logic components for more information about One-Shot Rates and Counter Operators (see help resources).

Next

You can customize this particular charge in a charge plan: Use a charge plan to configure the initialization of a shared counter