compound state: transition and naming isse #29
Unanswered
tfahringer
asked this question in
Q&A
Replies: 2 comments
-
In single SCXML all names must be unique within session. It is allowed to be duplicated only in submachines called via invoke element |
Beta Was this translation helpful? Give feedback.
0 replies
-
@tfahringer , I would reccomend to download and test scxml in ScxmlEditor application. It has different scxml static checks and you will be able to execute and test it in live session https://github.com/alexzhornyak/ScxmlEditor-Tutorial
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's assume we have a single scxml session/element with 2 compound states in sequence. Can these 2 compound states have child states with identical names but entirely different content/semantics?
Is there any rule in SCXML that prevents using the same name of states across arbitrary nesting of parallel and compound states?
Let's assume there is a compound state getCC with several child states one of them is child state c1. How can I create a transition from within the same scxml session to c1 if c1 is not the initial state? what is the syntax of it?
what if there is a deep nesting of states such as getCC/c1/cc1/ccc3 ... where cc1 is a child state of c1 and ccc3 is a child state of cc1.
how can i transition to ccc3 from outside? What is the syntax for the target for such a transition?
Beta Was this translation helpful? Give feedback.
All reactions