My Oracle Support Banner

In a Config Rule, Advanced Message Expects String[] As Return Type When Migrated (Doc ID 2545467.1)

Last updated on DECEMBER 14, 2019

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 18 C Patch 1 to 19 B Patch 4 [Release 18 to 19]
Information in this document applies to any platform.

Symptoms

An error is observed when trying to migrate a configuration recommendation or constraint rule. The issue happens when the said rule has the following characteristics:

  1. Array attribute in the simple condition
  2. Array attribute as an action attribute to be recommended/constrained by an advanced BML function
  3. Advanced BML function defined to return a message for the attribute in #2

When these conditions are met, the rule is able to be saved and is functional in the configurator, but it can not be migrated over to another site because of an error.

Error:

Compilation error: The return value should be of type String[]. Occurs in config rule action: ***:Constraint Rule (Rule Name : ***, Rule Order No : *)



Cause

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

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


In this Document
Symptoms
Cause
Solution
References


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