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

Groovy DataExporter DataImporter issue

Accepted answer
edited Feb 27, 2024 12:10PM in Planning 3 comments


What's wrong with the below code for DataExport and Import using Groovy

Content (please ensure you mask any confidential information):

I am unable to get the below code working please suggest what am I doing wrong here. basically we are trying to copy data from one status to another status.

It gives error as "A method called by the script failed on line: 6, with error: An error occurred while processing this page."

/* RTPS: */

Cube cubeSource = operation.application.getCube("FnRpt")

Cube cubeTarget = operation.application.getCube("FnRpt")

cubeSource.createDataExporter().setDataExportFormat(CELL_FORMAT).setRowFilterCriteria("Jul", "New", "FY24", "E250047", "Plan").exportData().withCloseable { exportIterator ->

Howdy, Stranger!

Log In

To view full details, sign in.


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