Exit out of Composite State [message #1800406] |
Wed, 26 December 2018 20:30  |
Eclipse User |
|
|
|
Hi,
Please see attached pictures of the following created using Papyrus for Real-Time 1.0:
1. Main State Machine containing two states (State1 and CompositeState1)
2. CompositeState1 has State2 and CompositeState2
3. CompositeState2 has State3 and State4
I am unable to find a way to exit out of CompositeState2 (which is inside CompositeState1) and transition to State1 (through the exit point or some other way). Please clarify how to achieve this.
Note that there is a way to transition from CompositeState2 to State2 through the exit point in CompositeState2 but not transition from CompositeState2 to the exit point in CompositeState1
|
|
|
|
Re: Exit out of Composite State [message #1800427 is a reply to message #1800421] |
Thu, 27 December 2018 14:36  |
Eclipse User |
|
|
|
Thanks Ernesto! Figured a way to exit out of composite state!
Observations for transitioning from A STATE to an exit point of composite state:
1. If I add a transition from State 2 to CompositeState1, it creates an exit point and a valid transition
2. If I add an exit point in CompositeState1, then add the transition from State2 to this exit point, it creates the (valid) transition
Observations for transitioning from A COMPOSITE STATE to an exit point of composite state:
1. If I add a transition from CompositeState2 to CompositeState1, it creates an exit point and a valid transition
2. If I add an exit point in CompositeState1, then add the transition from CompositeState2 to this exit point, it removes the transition
[Updated on: Thu, 27 December 2018 14:48] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 2.10996 seconds