stateMachine.getStateMachineAccessor() .doWithRegion(function -> function.addStateMachineInterceptor( new StateMachineInte