blob: ada1a17712c73710c6080e879ff6854aacc2ede2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<scxml initial="step2">
<state id="start">
<onentry>
<log expr="'Entered State: start'" />
</onentry>
<transition target="step1">
<log expr="'Transition start -> step1'" />
</transition>
<onexit>
<log expr="'Exited State: start'" />
</onexit>
</state>
<state id="step1">
<onentry>
<log expr="'Entered State: step1'" />
</onentry>
<transition target="step2">
<log expr="'Transition step1 -> step2'" />
</transition>
<onexit>
<log expr="'Exited State: step1'" />
</onexit>
</state>
<parallel id="step2">
<state id="parallel1">
<onentry>
<log expr="'Entered State: parallel1'" />
</onentry>
<transition target="step3">
<log expr="'Transition parallel1 -> step3'" />
</transition>
<onexit>
<log expr="'Exited State: parallel1'" />
</onexit>
</state>
<state id="parallel2">
<onentry>
<log expr="'Entered State: parallel2'" />
</onentry>
<transition target="step3">
<log expr="'Transition parallel2 -> step3'" />
</transition>
<onexit>
<log expr="'Exited State: parallel2'" />
</onexit>
</state>
</parallel>
<final id="step3">
<onentry>
<log expr="'Entered Final State: step3'" />
</onentry>
<onexit>
<log expr="'Exited Final State: step3'" />
</onexit>
</final>
</scxml>
|