Retail Predictive Application Server (MOSC)

MOSC Banner

Exception while validating rule: An expression cannot have the same measure with and without the old

edited Dec 4, 2013 8:38AM in Retail Predictive Application Server (MOSC) 4 commentsAnswered
Hello,
While patching a domain, the log displayed this exception:

Started task : installRuleCfgValidation(com.retek.ride.installer.tasks.PostRegistrationRuleValidation)
Task Begun: 14:22:32.
Initializing Rpas Jni for domain at /u01/ipcoe/environments/ipcoe/domains/itemplan.
Validating rule groups for solution itemplan.
itemplan contains the following errors.
Error: RPAS exception
  Exception Type:         IllegalParse: An expression cannot have the same measure with and without the old modifier on the RHS.
Expression: NoTchAftLndBrDel = if(NoTchAftLndBr.old != 0 && NoTchAftLndBr == 0, NoTchAftLndBr.old, if(NoTchAftLndBr.old == 0 && NoTchAftLndBr != 0, 0, ignore))
Task Ended: 14:22:36.
Ended task : installRuleCfgValidation(com.retek.ride.installer.tasks.PostRegistrationRuleValidation)

Could you confirm if this is a showstopper issue?
The only workaround we could think of is having a cloned measure e.g. NoTchAftLndBr2 and put the old value inside it, before using it in the main expression.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center