Groovy Script Error - Exception in expression... oracle.jbo.expr.JIMultipleSyntaxErrors Failed to build ViewCriteria from expression...

(Doc ID 2370215.1)

Last updated on MARCH 06, 2018

Applies to:

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

Symptoms

The script gives error

def vo = newView("Activity")
addBindVariable(vo,"VarActivityId_c")
setBindVariable(vo,"VarActivityId_c","300000001484667")
vo.appendViewCriteria("ActivityId = :VarActivityId_c")
vo.executeQuery()
while (vo.hasNext()) {
def r = vo.next();
println '123'
}



ERROR
-----------------------

Error
Exception in expression "testwf_c" object function testBtn() : oracle.jbo.expr.JIMultipleSyntaxErrors Failed to build ViewCriteria from expression "ActivityId = :VarActivityId_c" using view object Activity_1. at "testwf_c" object function testBtn() line 4

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