How to print or use substitution variables in Groovy for ASO cube — 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

How to print or use substitution variables in Groovy for ASO cube

Summary:

I had a requirement where I need to extract data from ASO cube montly, I created Sub Var in ASO cube for period and year trying to call those in groovy but script throws an error, even I tried to just print the SUb Var it didn't work

Content (please ensure you mask any confidential information):


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



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

Cube cube = operation.application.getCube("PLNLR")
def stryear= operation.application.getSubstituionVariableValue("ActYr")
println stryear

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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