Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmanaged Transitions execution #180

Open
IKMODI opened this issue May 25, 2018 · 1 comment
Open

Unmanaged Transitions execution #180

IKMODI opened this issue May 25, 2018 · 1 comment

Comments

@IKMODI
Copy link

IKMODI commented May 25, 2018

Hello,

I created an example of compound states and few events,

I am not able to execute the wait state of 2000ms in my state chart.

following is the output of the scxml execution:

[Log] "onentry:TestProcedure"
[Log] "onentry:TS0"
[Log] "onentry:TS0_s1"
[Log] "onentry:TS0_s1_GetParametrs"
[Log] "onexit:TS0_s1_GetParametrs"
[Log] "tx:TS0_s1_Decision"
[Log] "onentry:TS0_s1_Decision"
[Log] "onentry:TS0_s1_CondVartrue"
[Log] "onexit:TS0_s1_Decision"
[Log] "tx:TS0_s1_WhileStates"
[Log] "onentry:TS0_s1_WhileStates"
[Log] "onentry:TS0_s1_WhileStates_s2
[Log] "onexit:TS0_s1_WhileStates_s2"
[Log] "tx:TS0_s1_WhileStates_s3"
[Log] "onexit:TS0_s1_WhileStates_s3"
[Log] "onexit:TS0_s1_WhileStates_s3"
[Log] "onexit:TS0_s1_WhileStates:"
[Log] "onexit:TS0_s1"
[Log] "onexit:TS0"
[Log] "tx:TestProcedure_final"
[Log] "onentry:TestProcedure_final"
[Log] "onexit:TestProcedure"
[Log] "tx:UnSubscribeAllAtEnd"
[Log] "onentry:UnSubscribeAllAtEnd"
[Log] "onexit:UnSubscribeAllAtEnd"
[Log] "tx:scxml_final"
[Log] "onentry:scxml_final"

if you notice in SCXML the log "'tx:TS0_s1_WhileStates_final - AllEvents'" is missing in the output.
I noticed that the transtion is not executed which contains this log. and the event in that perticular state is not captured as well.

Any help is appriciated on this topic, I am debugging this point from days now still no clue what I am doing wrong.

I have attahed my scxml.

Thanks.
p.zip

@alexzhornyak
Copy link
Contributor

alexzhornyak commented Apr 23, 2021

Hi, I know that this is too late answer. Just wanna close the issue and show the advantages of the visual scxml debugging

Issue 180

You have unguarded transitons from the root state to final. It means that state machine won't wait any delayed events and exit
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants