Closed slice-sagarg closed 1 year ago
machine.stopReactively().block(); machine.getStateMachineAccessor() .doWithAllRegions(accessor -> { accessor.resetStateMachineReactively( new DefaultStateMachineContext<>( status,null,null,null)) .block(); }); machine.startReactively().block();
Using this to start the state machine with particular state but after resetStateMachineReactively called machine id set to null.
Checked there is another constructor for DefaultStateMachineContext which have id parameter.
Using this to start the state machine with particular state but after resetStateMachineReactively called machine id set to null.