Hello,
I also ask to IBM Support wich reproduce the issue ....
"We are checking the issue internally and we are able to reproduce the issue in the version 2.0.94 and will get back to you soon with an update".
I will investigate with sandobx in TI processus in wich I could ;
- Update Data into sanddox or into Base (by choose)
- Merge Sandbox when I want to commit
- discard sandbox change when I want to rollback"
For sample :
Into Base update Cube_Cocpit
Into sandboxe all my update (Prolog, metadata, data)
in epilog test the existence of an errorfile
- if errorfile :
discardsandboxe ,
write cube_cockpit into Base KO status
Else
MergeSandbox to Base
write cube_cockpit into Base OK status
end if;
discardsandboxe
I will make test about volume, conflict etc ...
Regards,
Philippe
------------------------------
Philippe CHAMPLEBOUX
------------------------------
Original Message:
Sent: Tue March 12, 2024 02:15 PM
From: Philippe CHAMPLEBOUX
Subject: process rollBack
Thanks Ardian,
I will try.
Are yous sure that the ProcessRollBack executed in "master Process" discard all the change made by "Child Process" ?
I am also thinking about sandbox to make I would.
Regards,
Philippe
------------------------------
Philippe CHAMPLEBOUX
------------------------------
Original Message:
Sent: Tue March 12, 2024 02:05 PM
From: Ardian Alikaj
Subject: process rollBack
I would use a Global Variable, initialize the value of the Variable in Prolog of the Process, and set the value to
#== In the Master Process:
StringGlobalVariable('gvExecutionStatus');
gvExecutionStatus = '' ;
ExecuteProcess ( 'child_process' ) ;
IF ( gvExecutionStatus @= 'Rollback') ;
ProcessRollback ;
ENDIF ;
#== In the child Process, declare the global variable in Prolog tab and Set the value to 'Rollback' before ProcessRollback statement:
#== Prolog
StringGlobalVariable('gvExecutionStatus');
#== Epilog
gvExecutionStatus = 'Rollback' ;
ProcessRollback ;
------------------------------
Ardian Alikaj