#default transition from state
1 messages · Page 1 of 1 (latest)
So If I understand correctly, you want to send an empty event to the state machine when it's in state idle and let that fall back to op1 event?
first, is it possible to define a state a default transition? seems like not possible
how would i implement the empty state flow?
No. You either have explicit events like op1 and op2, immediate eventless transitions with always or delayed transitions with after.
You can't. You can't dictate the state machine to transition to a state directly either. All you can do is to send events. You need to configure the state machine to react to that event in that particular state the way you want.