Getting An Error While Using Exist Operator In MongoDB Query Of Commerce Attribute Filter
(Doc ID 3039633.1)
Last updated on AUGUST 12, 2024
Applies to:
Oracle BigMachines CPQ Cloud Service - Version 24 B Patch 6 and laterInformation in this document applies to any platform.
Symptoms
On : 24 B Patch 6 version, Commerce
Getting an error while using exist operator in mongoDB query of commerce attribute filter
ERROR
---------
An entry in the filter is comparing data type string with data type boolean, of value "false". Comparisons must use the same data type.
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate to Admin -> Process Definition -> Process name-> main doc-> Attributes ->Attribute name
2. Add below filter and click on apply
{$and:[ {variable name:{$exists: 'false'}}]}
Changes
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 |
Changes |
Cause |
Solution |
References |