I'm not sure I clearly understand how to use substates. I didn't find any good explained example of correct spring state machine configuration, so I would be gl
I am new to spring state machine and trying to understand which is a better approach whether to persist the state context in a database or to restore the state
In the Spring Statemachine reference doc is this sample code: @WithStateMachine static class Bean1 { @OnTransition(source = "S1", target = "S2") publi