Im very new to Tm1 and have to implement a new function in my code. Is there any way to undo your last action?
For better understanding ill write an example: I have 8 different cubes and i will upload one after one. If one cube is not able to be uploaded all the others shouldnt be uploaded too. Every cube which is already being uploaded should get a reset to the previous state.
Is there a way to implement it?
You have to inbriquate your 8 loading process in a master (others are slaves). If you have a condition that make one or your cube unuploadable you use the ProcessError function. In the master process, you fetch the result of the execution of each slave process. If one is in error, you use the processerror function (in the master). All the chain won't be commited.