Groovy export to import
Summary:
Can anyone see why I keep getting the below Groovy validation error this script is taken almost directly from the Groovy documentation. from what I read on createRowData it should be expecting a Tuple, Set, & Map.
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 = rule.cube
List<Member> periods = operation.application.getDimension("Period").getEvaluatedMembers("Feb",cube)
cube.createDataExporter().
setColumnMemberNames(periods).
setRowFilterCriteria("FY24","NZDentDist","L2_CostofSlsNonIC","L2_DentLrgEquip","NOAPPVER","ACTUAL","No Intercompany","NZLarge","SourceUSGAAP","AUSNZDental_Loc").
exportData().withCloseable { exportIterator ->