Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
ASO Allocation DataLoadOption.ADD_DATA not working — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

ASO Allocation DataLoadOption.ADD_DATA not working

Question
11
Views
0
Comments
edited Oct 22, 2021 11:38AM in Planning

Summary:

Trying to use the ASO Allocation from a Groovy rule with the option to 'Add' the allocation result to data already at the target range

Content (required):

The Groovy syntax is not excepted or if it doesnt error it fails to use the dataloadoption flag correctly.

Version (include the version you are using, if applicable):

EPBCS 21.10.67

Code Snippet (add any code snippets that support your topic, if applicable):

AllocationParameters parameters0 = new AllocationParameters()
//... set a load of options.. 

// This syntax should work but fails to run / runs with an error
parameters0.dataLoadOption = DataLoadOption.ADD_DATA 

//Below does not errorwhen run but deos not have the desired result of setting the allocation target to 'ADD' rather than STORE aka overwrite.. 
parameters0.setDataLoadOption(AllocationParameters.DataLoadOption.ADD_DATA)


operation.getApplication().getCube('InsightR').executeAsoAllocation(parameters0)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!