After R11 upgrade, previously created groovy code showing a validation error

(Doc ID 2204690.1)

Last updated on NOVEMBER 16, 2016

Applies to:

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


After upgrade to R11, customer is having issues with a previously created code.

The script is showing a validation error. Throwing validation error: "Illegal argument to get/setAttribute variable"

def foundRows = vo.findByKey(key(oppId),1)
def found = foundRows.size() == 1 ? foundRows[0] : null;
if(found != null){
stageName = found.getAttribute('SalesStage')
businessUnitName = found.getAttribute('PrimaryOrganizationName_transient')



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