|
The activity flow of rolling-back:
First, the state of scenario update to ROLLING_BACK. With each action in scenario, do the following step:
1: Update stat of action to ROLLING_BACK.
2: Initiate new update requirement with old information to recovery.
3: Do update current action.
If success -> update action state to COMPLETED and continue with the next action is not roll-back yet, if there are no action left, the scenario state turn to ROLLED_BACK.
If don¡¯t -> update state of this action to FAILED and the actions after change to ABORTED, state of scenario to FAILED_TEMP and end the scenario. |