<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
  <attributes>
    <uuid>cb9f41ef-e119-43a5-b8fa-5851ec3faef1</uuid>
    <info>s</info>
    <modeltype>Signavio</modeltype>
  </attributes>
  <state>ready</state>
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
  <positions/>
  <dataelements>
    <x>_begin</x>
    <nasty>What a nasty bug</nasty>
  </dataelements>
  <endpoints>
    <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
  </endpoints>
  <dsl>call :a1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4), ⭐(:name =&gt; :bug, :value =&gt; data.nasty)] }, finalize: &lt;&lt;-END
  data.x += "done"
END
parallel :wait =&gt; 2 do
  parallel_branch do
    call :a2_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 6)] }
  end
  parallel_branch do
    call :a2_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
  end
end
manipulate :a3, &lt;&lt;-END
  data.x += '_end'
END
choose :inclusive do
  alternative "data.x != nil" do
    call :a4_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
  end
  otherwise  do
    call :a4_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 10)] }
  end
end
</dsl>
  <dslx>
    <description xmlns="http://cpee.org/ns/description/1.0">
      <call id="a1" endpoint="timeout">
        <parameters>
          <!--{{{-->
          <method>:post</method>
          <arguments>
            <timeout>4</timeout>
            <bug>data.nasty</bug>
          </arguments>
        </parameters>
        <!--}}}-->
        <finalize output="result">data.x += "done"</finalize>
      </call>
      <parallel wait="2">
        <parallel_branch>
          <call id="a2_1" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>6</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </parallel_branch>
        <parallel_branch>
          <call id="a2_2" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>2</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </parallel_branch>
      </parallel>
      <manipulate id="a3">data.x += '_end'</manipulate>
      <choose>
        <alternative condition="data.x != nil">
          <call id="a4_1" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>4</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </alternative>
        <otherwise>
          <call id="a4_2" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>10</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </otherwise>
      </choose>
    </description>
  </dslx>
  <status>
    <id>0</id>
    <message>undefined</message>
  </status>
  <description>
    <description xmlns="http://cpee.org/ns/description/1.0">
      <call id="a1" endpoint="timeout">
        <parameters>
          <!--{{{-->
          <method>:post</method>
          <arguments>
            <timeout>4</timeout>
            <bug>data.nasty</bug>
          </arguments>
        </parameters>
        <!--}}}-->
        <finalize output="result">data.x += "done"</finalize>
      </call>
      <parallel wait="2">
        <parallel_branch>
          <call id="a2_1" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>6</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </parallel_branch>
        <parallel_branch>
          <call id="a2_2" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>2</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </parallel_branch>
      </parallel>
      <manipulate id="a3">data.x += '_end'</manipulate>
      <choose>
        <alternative condition="data.x != nil">
          <call id="a4_1" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>4</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </alternative>
        <otherwise>
          <call id="a4_2" endpoint="timeout">
            <parameters>
              <!--{{{-->
              <method>:post</method>
              <arguments>
                <timeout>10</timeout>
              </arguments>
            </parameters>
            <!--}}}-->
          </call>
        </otherwise>
      </choose>
    </description>
  </description>
  <transformation>
    <description type="copy"/>
    <dataelements type="rest"/>
    <endpoints type="rest"/>
  </transformation>
</properties>