Hello,
I'm trying to import a simple state machine (scxml format) to ProM 6.8, but it seems there no plugin that supports this file. The only plugins that accept this format are "import as simple log file" and "import as simple resource log files" but even with filtering, I'm not getting the correct model.
The structure of my file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<state id="A">
<onentry>
<send sendid="1" target="A" targetType="Opaque Behavior" event="ONENTRY">
</send>
</onentry>
<transition event="B" target="B">
</transition>
</state>
<state id="B">
<onentry>
<send sendid="2" target="B" targetType="Opaque Behavior" event="ONENTRY">
</send>
</onentry>
<transition event="C" target="C">
</transition>
<transition event="A" target="A">
</transition>
</state>
<state id="C">
<onentry>
<send sendid="3" target="C" targetType="Opaque Behavior" event="ONENTRY">
</send>
</onentry>
<transition event="D" target="D">
</transition>
<transition event="B" target="B">
</transition>
</state>
</scxml>
I tried mapping the xml schema of this with the ones accepted by ProM but no success. I tried also to convert it to a petri net but I got a wrong model in ProM.
"
<?xml version="1.0" encoding="UTF-8"?>
<net>
<place id="1">
<name>
<text>A</text>
</name>
</place>
<place id="2">
<name>
<text>B</text>
</name>
</place>
<place id="3">
<name>
<text>C</text>
</name>
</place>
<transition>
<name>
<text>B</text>
</name>
</transition>
<transition>
<name>
<text>C</text>
</name>
</transition>
<transition>
<name>
<text>A</text>
</name>
</transition>
<transition>
<name>
<text>D</text>
</name>
</transition>
<transition>
<name>
<text>B</text>
</name>
</transition>
<arc source="A" target="B"/>
<arc source="B" target="C"/>
<arc source="B" target="A"/>
<arc source="C" target="D"/>
<arc source="C" target="B"/>
</net>
</pnml>
Is there any way I could import this mode (scxml) to ProM? Thanks very much!
Comments