Function edrString Cannot Work Correctly For Array-Like Block In An IRule Module (Doc ID 802156.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.1 and later
Information in this document applies to any platform.
Checked for relevance on 05-Oct-2012


Symptoms

Using edrString to read the service ERA like "edrString(DETAIL.CUST_A.PRODUCT.ERA.PA.KEY,0,0,0,2)", the returned value is always the first
element, cannot get the second, third element value.

The issue can be reproduced at the following steps:

1. In the promotion tab of  Customer Center, set the Friend&Family(Official) for the GSM
service three member: A1=1, A2=2, A3=3.

For example:

PROFILE_ATTRIBUTES
------------------
KEY: <A1>
VALUE: <1>


2. Configure one iRule plugin after module "CustomerSearch".

For example:

CheckBillType
{
ModuleName = FCT_IRules
Module
{
Active = True
Source = File
Rules
{
}
Descriptions
{
PipelineSelect = ./iScriptLib/RT/IRL_CheckBillType.irl
}
}
}

3. Start pipeline and put one CDR file in the input directory.

4. From the pipeline log (“pipeline_ALL_RATE.log”), it shows the following message:

26.03.2009 13:40:20 snisp405 ifw IFW NORMAL [T:21] 00387 -
(ifw.Pipelines.ALL_RATE.Functions.Processing.FunctionPool.CheckBillType.Module.PipelineSelect.CheckBillType) INF_INTERPRETER_LOG_PIPELINE | hyewons era hardc -->A1
26.03.2009 13:40:20 snisp405 ifw IFW NORMAL [T:21] 00387 -
(ifw.Pipelines.ALL_RATE.Functions.Processing.FunctionPool.CheckBillType.Module.PipelineSelect.CheckBillType) INF_INTERPRETER_LOG_PIPELINE | hyewons era hardc -->A1 

5. The returned ERA name for the second & third are both A1, which is the first element.

Cause

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 hundreds of Community platforms