EDIT: it's a non-issue, rookie mistake

Best wishes for 2022 !
I have a simple TI process to load data. So the Prolog tab does a zero out in a reporting cube, grabs data from an input cube.
Then the Data tab will CellIncrementN the values. All pretty straightforward.
However, when errors are encountered (and I know which errors to flag) I would like to do a rollback of the process.
Meaning that nothing has changed and the "target slice" of data is not zero if the slice was not 0 before the load started.
I have a variable "nErrors" that is set to 1 when an error is encountered in the Data tab. The line is skipped.
In the Epilog, I check for errors:
Code: Select all
If( nErrors = 1 );
ProcessRollback;
EndIf;
I tried ProcessError as well (in the Epilog tab).
Does anyone know how this should be done ? I don't want to abuse the Metadata tab or use a different TI process to achieve the same result.
Interestingly, a simple CellPutN in the PROLOG tab and a ProcessRollback; in the Epilog, and no other code, does work and the value is not visible in the cube !
https://www.ibm.com/docs/en/planning-an ... ssrollback
Best regards,
Wim