<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="ReadWriteTestDefinition" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="DataReadWriteTestElementId" name="Data Read Write Test" processRef="DataReadWriteTest" />
  </bpmn:collaboration>
  <bpmn:process id="DataReadWriteTest" name="Data Read Write Test" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Lane">
        <bpmn:flowNodeRef>StartEvent</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0llthb2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0od37uc</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent" name="Start Event">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="studio.defaultCustomStartToken" value="" />
          <camunda:property name="engine.runPostScript" value="{&#10;    readWriteData:true&#10;}" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:outgoing>Flow_16paygq</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:task id="Activity_0llthb2" name="Write Data">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="engine.runPreScript" value="" />
          <camunda:property name="engine.runPostScript" value="" />
          <camunda:property name="enabled" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_16paygq</bpmn:incoming>
      <bpmn:outgoing>Flow_0m0lf6r</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_03iaf4o">
        <bpmn:targetRef>DataObjectReadWrite</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:task>
    <bpmn:sequenceFlow id="Flow_16paygq" sourceRef="StartEvent" targetRef="Activity_0llthb2" />
    <bpmn:dataObjectReference id="DataObjectReadWrite" name="Data Object" dataObjectRef="DataObject_02vf6mc" />
    <bpmn:dataObject id="DataObject_02vf6mc" />
    <bpmn:sequenceFlow id="Flow_0m0lf6r" sourceRef="Activity_0llthb2" targetRef="Activity_0od37uc" />
    <bpmn:task id="Activity_0od37uc" name="Read Data">
      <bpmn:documentation />
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="engine.runPostScript" value="" />
          <camunda:property name="engine.runPreScript" value="{&#10;    ...token.current,&#10;    ...dataObjects.DataObjectReadWrite&#10;}" />
          <camunda:property name="enabled" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0m0lf6r</bpmn:incoming>
      <bpmn:outgoing>Flow_0yysgwb</bpmn:outgoing>
      <bpmn:property id="Property_0pbg1w4" name="__targetRef_placeholder" />
      <bpmn:dataInputAssociation id="DataInputAssociation_0svn08c">
        <bpmn:sourceRef>DataObjectReadWrite</bpmn:sourceRef>
        <bpmn:targetRef>Property_0pbg1w4</bpmn:targetRef>
      </bpmn:dataInputAssociation>
    </bpmn:task>
    <bpmn:sequenceFlow id="Flow_0yysgwb" sourceRef="Activity_0od37uc" targetRef="EndEvent" />
    <bpmn:endEvent id="EndEvent" name="End Event">
      <bpmn:incoming>Flow_0yysgwb</bpmn:incoming>
    </bpmn:endEvent>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="DataReadWriteTestElementId" isHorizontal="true">
        <dc:Bounds x="5" y="4" width="643" height="346" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="35" y="4" width="613" height="346" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0yysgwb_di" bpmnElement="Flow_0yysgwb">
        <di:waypoint x="440" y="170" />
        <di:waypoint x="512" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0m0lf6r_di" bpmnElement="Flow_0m0lf6r">
        <di:waypoint x="280" y="170" />
        <di:waypoint x="340" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_16paygq_di" bpmnElement="Flow_16paygq">
        <di:waypoint x="128" y="170" />
        <di:waypoint x="180" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent">
        <dc:Bounds x="92" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="83" y="195" width="55" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0llthb2_di" bpmnElement="Activity_0llthb2">
        <dc:Bounds x="180" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataObjectReference_0o4nqna_di" bpmnElement="DataObjectReadWrite">
        <dc:Bounds x="212" y="35" width="36" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="201" y="17" width="59" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0od37uc_di" bpmnElement="Activity_0od37uc">
        <dc:Bounds x="340" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_15wffed_di" bpmnElement="EndEvent">
        <dc:Bounds x="512" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="504" y="128" width="51" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="DataOutputAssociation_03iaf4o_di" bpmnElement="DataOutputAssociation_03iaf4o">
        <di:waypoint x="229" y="130" />
        <di:waypoint x="229" y="85" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataInputAssociation_0svn08c_di" bpmnElement="DataInputAssociation_0svn08c">
        <di:waypoint x="248" y="60" />
        <di:waypoint x="390" y="60" />
        <di:waypoint x="390" y="130" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
