summaryrefslogtreecommitdiffstats
path: root/test/samples/uscxml/test-custom-executable-content.scxml
diff options
context:
space:
mode:
Diffstat (limited to 'test/samples/uscxml/test-custom-executable-content.scxml')
-rw-r--r--test/samples/uscxml/test-custom-executable-content.scxml19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/samples/uscxml/test-custom-executable-content.scxml b/test/samples/uscxml/test-custom-executable-content.scxml
new file mode 100644
index 0000000..a40af93
--- /dev/null
+++ b/test/samples/uscxml/test-custom-executable-content.scxml
@@ -0,0 +1,19 @@
+<scxml datamodel="ecmascript">
+ <script src="http://uscxml.tk.informatik.tu-darmstadt.de/scripts/dump.js" />
+ <state id="start">
+ <onentry>
+ <fetch
+ target="http://data.wien.gv.at/daten/wfs?service=WFS&amp;request=GetFeature&amp;version=1.1.0&amp;typeName=ogdwien:BAUMOGD&amp;srsName=EPSG:4326&amp;outputFormat=json&amp;maxfeatures=5"
+ callback="data.wien"
+ type="json" />
+ </onentry>
+ <state id="wait">
+ <transition event="data.wien" target="final">
+ <script>
+ dump(_event);
+ </script>
+ </transition>
+ </state>
+ </state>
+ <final id="final" />
+</scxml> \ No newline at end of file