Groovy DataExporter DataImporter issue
Summary:
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 ->
Tagged:
0