summaryrefslogtreecommitdiffstats
path: root/test/uscxml/test-initial-configuration.scxml
blob: 87c57966956b88b18afbca1100c5e12b3fc62453 (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
<scxml>
	<state id="s0">
		<invoke type="scxml" initial="s0pass s1pass">
			<content>
				<scxml>
					<parallel>
						<state id="s0">
							<state id="s0fail">
								<onentry>
									<log expr="s0fail!" />
								</onentry>
								<transition target="quit" />
							</state>
							<state id="s0pass">
								<onentry>
									<log expr="s0pass!" />
								</onentry>
								<transition target="quit" />
							</state>
						</state>
						<state id="s1">
							<state id="s1fail">
								<onentry>
									<log expr="s1fail!" />
								</onentry>
								<transition target="quit" />
							</state>
							<state id="s1pass">
								<onentry>
									<log expr="s1pass!" />
									<transition target="quit" />
								</onentry>
							</state>
						</state>
					</parallel>
					<final id="quit" />
				</scxml>
			</content>
		</invoke>
	</state>
</scxml>