<?xml version="1.0" encoding="UTF-8"?>
<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" initial="START">
  <state id="START">
    <transition target="FORK" event="Events.TO_FORK"/>
  </state>
  <state id="FORK">
    <transition target="REGION1_STATE1"/>
    <transition target="REGION2_STATE1"/>
  </state>
  <state id="REGION1_STATE1">
    <transition target="REGION1_STATE2" event="Events.R1_NEXT"/>
  </state>
  <state id="REGION2_STATE1">
    <transition target="REGION2_STATE2" event="Events.R2_NEXT"/>
  </state>
  <state id="REGION1_STATE2">
    <transition target="JOIN"/>
  </state>
  <state id="REGION2_STATE2">
    <transition target="JOIN"/>
  </state>
  <state id="JOIN">
    <transition target="END" event="Events.TO_END"/>
  </state>
  <state id="END">
  </state>
</scxml>

