My Oracle Support Banner

Problem With PreActive LifeCycleState Reading In ECE PreRating Extension (Doc ID 2417235.1)

Last updated on JULY 16, 2018

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version and later
Information in this document applies to any platform.


Customer expected to catch PreActive state for first Initial request for account in PreActive state,but when Customer call this method the state has been already changed to Active.

Steps to reproduce :

1.Customer has an account in ECE configured in PreActive state,
2.Start traffic and this account change to Active (main functionality and works fine)

In ECE PreRating extension we read LifeCycleState value for initial request using a method: 

  ExtensionProduct extensionProduct = extensionContext.getProduct();
  if (extensionProduct != null) {
  if(extensionProduct.getLifeCycleStateName() != null) {
  extensionContext.getLogger().debug("PRODUCT_LIFECYCLE_STATE_BEFORE = " + String.valueOf(extensionProduct.getLifeCycleState()));
  ExtensionCache.setStatusBeforeEvent(extensionContext, extensionProduct.getLifeCycleState());

Requirement is to read PreActive state in ECE.

Customer use-case:

Client requires receiving in CCA Error-Message = 10,
If the account was in the PreActive state on start the Gy request (check value as fast ass possible in Extension) and the state has been changed
during handling this request into Active by ECE,so in PostCharging they can one more time check state and then it should has "Active" value,
So in one transaction (one CCR with one CCA) they have to catch in Extensions
PreActive value on start and Active value after charge.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.