You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you attach more then one submachine to a state using .parent("XYZ") it will break the exit actions of these submachines. See example below. This bug is hinted at by #969 but does not include the correct reason why.
Unfortunately i don't have any fancy graphical tool, so you get some excalidraw from me.
15:40:03,713 INFO com.plansee.edge.flink.Testy [] - goodbye madeup
15:40:03,720 INFO com.plansee.edge.flink.Testy [] - goodbye ncprog
15:40:03,720 INFO com.plansee.edge.flink.Testy [] - goodbye order
Instead, only this comes:
15:40:35,452 INFO com.plansee.edge.flink.Testy [] - goodbye order
I assume this is happening because the variant with 2 submachines is triggering a RegionState to ObjectState transition, while with 1 submachine it is triggering a StateMachineState to ObjectState
The text was updated successfully, but these errors were encountered:
Looking at the debug output some more, it seems that while building the statemachine using the same parent twice turns the submachines into regions. That seems wrong to me.
If you attach more then one submachine to a state using
.parent("XYZ")
it will break the exit actions of these submachines. See example below. This bug is hinted at by #969 but does not include the correct reason why.Unfortunately i don't have any fancy graphical tool, so you get some excalidraw from me.
This one breaks the state machine:
This one is fine:
Expected output from first example would be:
Instead, only this comes:
I assume this is happening because the variant with 2 submachines is triggering a
RegionState
toObjectState
transition, while with 1 submachine it is triggering aStateMachineState
toObjectState
The text was updated successfully, but these errors were encountered: