This commit is contained in:
Janne Valkealahti
2020-10-24 09:36:09 +01:00
parent bd1d6492fc
commit bb46cdbad6

View File

@@ -976,7 +976,7 @@ public abstract class AbstractStateMachine<S, E> extends StateMachineObjectSuppo
if (kind == PseudoStateKind.INITIAL || kind == PseudoStateKind.FORK) {
return Mono.just(state);
} else if (kind != null) {
return Mono.from(state.getPseudoState().entry(stateContext).log("xxx1").flatMap(s -> followLinkedPseudoStates(s, stateContext)))
return Mono.from(state.getPseudoState().entry(stateContext).flatMap(s -> followLinkedPseudoStates(s, stateContext)))
.switchIfEmpty(Mono.just(state))
;
} else {