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.


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.


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


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

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