<?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="Definition_1e41d74f-5843-454d-8a4e-b14c32ebf0fa" targetNamespace="http://bpmn.io/schema/bpmn" exporter="5Minds Studio" exporterVersion="1">
  <bpmn:collaboration id="Collaboration_1cidyxu" name="">
    <bpmn:participant id="Participant_0px403d" name="External Task Sample" processRef="ExternalTaskSampleProcess" />
  </bpmn:collaboration>
  <bpmn:process id="ExternalTaskSampleProcess" name="External Task Sample" isExecutable="true">
    <bpmn:laneSet>
      <bpmn:lane id="Lane_1xzf0d3" name="Lane">
        <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EventEvent_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>ServiceTask_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_1pq9nk6</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0gzq468</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Activity_0232j2a</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_1" name="Start Event">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="engine.runPostScript" value="return {&#10;    hello: &#39;world&#39;&#10;}" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:outgoing>Flow_12uzl7y</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:sequenceFlow id="Flow_12uzl7y" sourceRef="StartEvent_1" targetRef="Activity_0232j2a" />
    <bpmn:sequenceFlow id="Flow_09o1dgl" sourceRef="ServiceTask_1" targetRef="EventEvent_1" />
    <bpmn:endEvent id="EventEvent_1" name="End Event">
      <bpmn:incoming>Flow_09o1dgl</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="ServiceTask_1" name="Service Task 4" camunda:type="external" camunda:topic="randomTopic1">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="payload" value="return token.current;" />
          <camunda:property name="engine.runPreScript" value="" />
          <camunda:property name="studio.externalTask.exampleResult" value="" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_1x9mg3a</bpmn:incoming>
      <bpmn:outgoing>Flow_09o1dgl</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_05xur04" sourceRef="Activity_0232j2a" targetRef="Activity_0gzq468" />
    <bpmn:sequenceFlow id="Flow_0l3nliv" sourceRef="Activity_0gzq468" targetRef="Activity_1pq9nk6" />
    <bpmn:sequenceFlow id="Flow_1x9mg3a" sourceRef="Activity_1pq9nk6" targetRef="ServiceTask_1" />
    <bpmn:dataObjectReference id="DataObjectReference_01hxm32" dataObjectRef="DataObject_072cbew" />
    <bpmn:dataObject id="DataObject_072cbew" />
    <bpmn:dataObjectReference id="DataObjectReference_1r0cr8f" dataObjectRef="DataObject_14mpgx3" />
    <bpmn:dataObject id="DataObject_14mpgx3" />
    <bpmn:serviceTask id="Activity_1pq9nk6" name="Service Task 3" camunda:type="external" camunda:topic="randomTopic1">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="enabled" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0l3nliv</bpmn:incoming>
      <bpmn:outgoing>Flow_1x9mg3a</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_16p1pp2">
        <bpmn:extensionElements>
          <camunda:properties>
            <camunda:property name="dataSource" value="return {&#10;    f: &#39;f&#39;&#10;}" />
          </camunda:properties>
        </bpmn:extensionElements>
        <bpmn:targetRef>DataObjectReference_1r0cr8f</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_0gzq468" name="Service Task 2" camunda:type="external" camunda:topic="randomTopic1">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="enabled" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_05xur04</bpmn:incoming>
      <bpmn:outgoing>Flow_0l3nliv</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0dx2sb8">
        <bpmn:extensionElements>
          <camunda:properties>
            <camunda:property name="dataSource" value="return {&#10;    d: &#39;d&#39;&#10;}" />
          </camunda:properties>
        </bpmn:extensionElements>
        <bpmn:targetRef>DataObjectReference_1r0cr8f</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0gu2k17">
        <bpmn:extensionElements>
          <camunda:properties>
            <camunda:property name="dataSource" value="return {&#10;    b: &#39;b&#39;&#10;}" />
          </camunda:properties>
        </bpmn:extensionElements>
        <bpmn:targetRef>DataObjectReference_01hxm32</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_0232j2a" name="Service Task 1" camunda:type="external" camunda:topic="randomTopic1">
      <bpmn:extensionElements>
        <camunda:properties>
          <camunda:property name="enabled" value="false" />
        </camunda:properties>
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_12uzl7y</bpmn:incoming>
      <bpmn:outgoing>Flow_05xur04</bpmn:outgoing>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0pu50af">
        <bpmn:extensionElements>
          <camunda:properties>
            <camunda:property name="dataSource" value="return {&#10;    a: &#39;a&#39;&#10;}" />
          </camunda:properties>
        </bpmn:extensionElements>
        <bpmn:targetRef>DataObjectReference_1r0cr8f</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_0iwgbkp">
        <bpmn:extensionElements>
          <camunda:properties>
            <camunda:property name="dataSource" value="return {&#10;    a: &#39;a&#39;&#10;}" />
          </camunda:properties>
        </bpmn:extensionElements>
        <bpmn:targetRef>DataObjectReference_01hxm32</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:serviceTask>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1cidyxu">
      <bpmndi:BPMNShape id="Participant_0px403d_di" bpmnElement="Participant_0px403d" isHorizontal="true">
        <dc:Bounds x="5" y="-10" width="1025" height="360" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1xzf0d3_di" bpmnElement="Lane_1xzf0d3" isHorizontal="true">
        <dc:Bounds x="35" y="-10" width="995" height="360" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
        <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="Event_0psmaht_di" bpmnElement="EventEvent_1">
        <dc:Bounds x="942" y="152" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="935" y="195" width="51" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_02jtesu_di" bpmnElement="ServiceTask_1">
        <dc:Bounds x="770" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataObjectReference_01hxm32_di" bpmnElement="DataObjectReference_01hxm32">
        <dc:Bounds x="502" y="25" width="36" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataObjectReference_1r0cr8f_di" bpmnElement="DataObjectReference_1r0cr8f">
        <dc:Bounds x="702" y="275" width="36" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1grcio3_di" bpmnElement="Activity_1pq9nk6">
        <dc:Bounds x="550" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_07toyym_di" bpmnElement="Activity_0gzq468">
        <dc:Bounds x="370" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_185uhz9_di" bpmnElement="Activity_0232j2a">
        <dc:Bounds x="200" y="130" width="100" height="80" />
        <bpmndi:BPMNLabel />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_12uzl7y_di" bpmnElement="Flow_12uzl7y">
        <di:waypoint x="128" y="170" />
        <di:waypoint x="200" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_09o1dgl_di" bpmnElement="Flow_09o1dgl">
        <di:waypoint x="870" y="170" />
        <di:waypoint x="942" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_05xur04_di" bpmnElement="Flow_05xur04">
        <di:waypoint x="300" y="170" />
        <di:waypoint x="370" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0l3nliv_di" bpmnElement="Flow_0l3nliv">
        <di:waypoint x="470" y="170" />
        <di:waypoint x="550" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1x9mg3a_di" bpmnElement="Flow_1x9mg3a">
        <di:waypoint x="650" y="170" />
        <di:waypoint x="770" y="170" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_16p1pp2_di" bpmnElement="DataOutputAssociation_16p1pp2">
        <di:waypoint x="600" y="210" />
        <di:waypoint x="600" y="300" />
        <di:waypoint x="702" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0dx2sb8_di" bpmnElement="DataOutputAssociation_0dx2sb8">
        <di:waypoint x="420" y="210" />
        <di:waypoint x="420" y="300" />
        <di:waypoint x="702" y="300" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0gu2k17_di" bpmnElement="DataOutputAssociation_0gu2k17">
        <di:waypoint x="420" y="130" />
        <di:waypoint x="420" y="50" />
        <di:waypoint x="502" y="50" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0pu50af_di" bpmnElement="DataOutputAssociation_0pu50af">
        <di:waypoint x="250" y="210" />
        <di:waypoint x="250" y="305" />
        <di:waypoint x="702" y="305" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_0iwgbkp_di" bpmnElement="DataOutputAssociation_0iwgbkp">
        <di:waypoint x="250" y="130" />
        <di:waypoint x="250" y="50" />
        <di:waypoint x="502" y="50" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
