Author Message
Nexus6
Joined: Sep 3, 2014
Messages: 12
Offline
Hello

We are going to upgrade VP4.1 to EP7.0.
So we are planning to reuse VP Speech Application.

I Imported the VP Speech project using orchestration designer and update project runtime then upgrade the project.
after upgrade the project, the speech project had problem with getting project variable names.

here's the problem.

IVariable DBResult_Get = mySession.getVariable(IProjectVariables.DB_RESULT);
IComplexVariable DBResult_Comp = DBResult_Get.getComplexVariable();
IVariableField DBResult = DBResult_Comp.getField(IProjectVariables.DB_RESULT_FIELD_RESULT);
IVariableField DBMsg= DBResult_Comp.getField(IProjectVariables.DB_RESULT_FIELD_RETURN_MSG);

IProjectVarible should use two under scores but there's only one under score.
I think this is reason that Orchestration designer could not found Project variables.

The second problem is

In Data node,
DD generate this code: com.avaya.sce.runtime.Condition.INT_GREATER_THEN_EQUAL
but the OD should use this: com.avaya.sce.runtime.Expression.INT_GREATER_THEN_EQUAL
this difference makes error

we need to fix these problem.

Thanks for your support.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
We made a change in OD 7 to use 2 underscores for the variable with one underscore to fix a name collision problem where we always started with one underscore even the variable name has no underscore; that had caused name collision when a variable has the same word combination with underscore in between the words.
The code generation should automatically use the new naming scheme in the generated code. The area that you may have problem with is the custom code or orphaned Java class which the code generator doesn't touch. You would be able to fix those manually.
Nexus6
Joined: Sep 3, 2014
Messages: 12
Offline
Thanks for your answer.
Go to:   
Mobile view