Error When Migrating a Recommendation Rule with a BMQL Statement [Compilation error: Error in line 6, column 61: bmql: Variable's datatype is not allowed: ARRAY_TYPE_ATTRIBUTE] (Doc ID 2295087.1)

Last updated on SEPTEMBER 12, 2017

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 2016 R2 and later
Information in this document applies to any platform.

Symptoms

A Recommendation Rule has the following criteria:

  1. It has an array-type attribute in the simple condition.
  2. It is trying to set a non array-type attribute as an action attribute via advanced BML.
  3. It is looping over an array-type attribute with a BMQL statement.

This rule will work as expected in the configurator, but this BML cannot be migrated to another site. The following will appear in the migration logs:

Compilation error: Error in line 6, column 61: bmql: Variable's datatype is not allowed: ARRAY_TYPE_ATTRIBUTE

Note that ARRAY_TYPE_ATTRIBUTE is the attribute being looped over.

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