<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:activiti="http://activiti.org/bpmn"
  targetNamespace="Examples">
  
  <process id="asyncCallActivityMultiInstancerServiceTask">
  
    <startEvent id="theStart" />
    
    <callActivity id="callActivity" calledElement="simpleServiceTask"
            name="CallActivity with One MultiInstance Task" activiti:async="true">
            <multiInstanceLoopCharacteristics isSequential="false">
              <loopCardinality>4</loopCardinality>
            </multiInstanceLoopCharacteristics>
    </callActivity>
    
    <parallelGateway id="fork" name="fork"/>
      <sequenceFlow id="flow1" sourceRef="theStart" targetRef="fork" />
      <sequenceFlow id="flow2" sourceRef="fork" targetRef="callActivity" />
    <parallelGateway id="join" name="join"/>  
      <sequenceFlow id="flow3" sourceRef="fork" targetRef="join" />
      <sequenceFlow id="flow4" sourceRef="callActivity" targetRef="join" />
      <sequenceFlow id="flow5" sourceRef="join" targetRef="theEnd" />
    <endEvent id="theEnd" />
    
  </process>

</definitions>