You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DefaultStateMachineService has method restoreStateMachine that restores persisted state into newly created state machine, but it does not work for the case with hierarchical states.
According to DefaultStateMachinePersister and some examples over Internet, FSM should be restored using stateMachine.getStateMachineAccessor().doWithAllRegions(), but DefaultStateMachineService for some reason restores only top level region:
// only go via top region
stateMachine.getStateMachineAccessor().doWithRegion(function -> function.resetStateMachine(stateMachineContext));
The text was updated successfully, but these errors were encountered:
DefaultStateMachineService
has methodrestoreStateMachine
that restores persisted state into newly created state machine, but it does not work for the case with hierarchical states.According to
DefaultStateMachinePersister
and some examples over Internet, FSM should be restored usingstateMachine.getStateMachineAccessor().doWithAllRegions()
, butDefaultStateMachineService
for some reason restores only top level region:The text was updated successfully, but these errors were encountered: