My Oracle Support Banner

How To Build A Query Using Groovy Script? (Doc ID 2002806.1)

Last updated on MAY 11, 2022

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Oracle Fusion Sales - Version and later
Information in this document applies to any platform.


How to build a query using Groovy Script?


The example script on OpportunityVO shows a filter using multiple criterias on the same attribute. For example a search with a condition like 'where value > 20 and value < 30'

or Opportunity Name starting with 'A' need to be used.  On adding multiple conditions to same attribute using ensureCriteriaItem() was not working as expected.



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.