<?xml version="1.0" encoding="UTF-8"?><bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:activiti="http://activiti.org/bpmn" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" targetNamespace="http://www.intra-mart.jp/im_bpm" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <bpmn:collaboration id="Collaboration">
    <bpmn:participant id="pool_1" name="エグゼキューションを取得するプロセス" processRef="im_logicdesigner_task_execution_sample-get_execution"/>
    <bpmn:participant id="pool_2" name="メッセージキャッチのプロセス" processRef="im_logicdesigner_task_execution_sample-message_catch_process"/>
  </bpmn:collaboration>
  <bpmn:message id="message-sample1" name="message-sample1"/>
  <bpmn:message id="message-sample2" name="message-sample2"/>
  <bpmn:process id="im_logicdesigner_task_execution_sample-get_execution" name="エグゼキューションを取得するプロセス" activiti:notUseBusinessKey="true" activiti:candidateStarterUsers="aoyagi" isExecutable="true">
    <bpmn:laneSet id="laneSet_im_logicdesigner_task_execution_sample-get_execution">
      <bpmn:lane id="swimlane_1" name="レーン">
        <bpmn:flowNodeRef>start-event_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>logicdesigner-task_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>end-event_1</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="start-event_1" name="開始"/>
    <bpmn:serviceTask id="logicdesigner-task_1" name="エグゼキューションを取得する" activiti:color="b5eaf7" activiti:type="logicdesigner">
      <bpmn:extensionElements>
        <activiti:field name="flowId">
          <activiti:expression>logicdesigner_task_execution_usage</activiti:expression>
        </activiti:field>
        <activiti:field name="useLatestVersion">
          <activiti:expression>true</activiti:expression>
        </activiti:field>
        <activiti:field name="storeResultVariables">
          <activiti:expression>false</activiti:expression>
        </activiti:field>
        <activiti:field name="inputData_processDefinitionKey">
          <activiti:expression>im_logicdesigner_task_execution_sample-message_catch_process</activiti:expression>
        </activiti:field>
        <activiti:field name="inputData_messageName">
          <activiti:expression>message-sample1,message-sample2</activiti:expression>
        </activiti:field>
      </bpmn:extensionElements>
    </bpmn:serviceTask>
    <bpmn:endEvent id="end-event_1" name="終了"/>
    <bpmn:sequenceFlow id="sequence-flow_5" sourceRef="start-event_1" targetRef="logicdesigner-task_1"/>
    <bpmn:sequenceFlow id="sequence-flow_6" sourceRef="logicdesigner-task_1" targetRef="end-event_1"/>
  </bpmn:process>
  <bpmn:process id="im_logicdesigner_task_execution_sample-message_catch_process" name="メッセージキャッチのプロセス" activiti:notUseBusinessKey="true" activiti:candidateStarterUsers="aoyagi" isExecutable="true">
    <bpmn:laneSet id="laneSet_im_logicdesigner_task_execution_sample-message_catch_process">
      <bpmn:lane id="swimlane_2" name="レーン">
        <bpmn:flowNodeRef>start-event_2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>message-catching-event_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>end-event_2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>message-catching-event_2</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>parallel-gateway_1</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>parallel-gateway_2</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="start-event_2" name="開始"/>
    <bpmn:intermediateCatchEvent id="message-catching-event_1" name="メッセージキャッチイベント1">
      <bpmn:messageEventDefinition messageRef="message-sample1"/>
    </bpmn:intermediateCatchEvent>
    <bpmn:endEvent id="end-event_2" name="終了"/>
    <bpmn:intermediateCatchEvent id="message-catching-event_2" name="メッセージキャッチイベント2">
      <bpmn:messageEventDefinition messageRef="message-sample2"/>
    </bpmn:intermediateCatchEvent>
    <bpmn:parallelGateway id="parallel-gateway_1" name="パラレルゲートウェイ"/>
    <bpmn:parallelGateway id="parallel-gateway_2" name="パラレルゲートウェイ"/>
    <bpmn:sequenceFlow id="sequence-flow_7" sourceRef="start-event_2" targetRef="parallel-gateway_1"/>
    <bpmn:sequenceFlow id="sequence-flow_8" sourceRef="parallel-gateway_1" targetRef="message-catching-event_1"/>
    <bpmn:sequenceFlow id="sequence-flow_9" sourceRef="parallel-gateway_1" targetRef="message-catching-event_2"/>
    <bpmn:sequenceFlow id="sequence-flow_12" sourceRef="parallel-gateway_2" targetRef="end-event_2"/>
    <bpmn:sequenceFlow id="sequence-flow_10" sourceRef="message-catching-event_1" targetRef="parallel-gateway_2"/>
    <bpmn:sequenceFlow id="sequence-flow_11" sourceRef="message-catching-event_2" targetRef="parallel-gateway_2"/>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_Collaboration">
    <bpmndi:BPMNPlane id="BPMNPlane_Collaboration" bpmnElement="Collaboration" activiti:edgeStyle="ElbowConnector">
      <bpmndi:BPMNShape id="BPMNShape_pool_1" bpmnElement="pool_1">
        <dc:Bounds x="130" y="40" width="751" height="229"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_swimlane_1" bpmnElement="swimlane_1">
        <dc:Bounds x="160" y="40" width="721" height="229"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_start-event_1" bpmnElement="start-event_1">
        <dc:Bounds x="230" y="137" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_logicdesigner-task_1" bpmnElement="logicdesigner-task_1">
        <dc:Bounds x="340" y="114.5" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_end-event_1" bpmnElement="end-event_1">
        <dc:Bounds x="540" y="137" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_5" bpmnElement="sequence-flow_5">
        <di:waypoint x="265" y="154.5"/>
        <di:waypoint x="303" y="154.5"/>
        <di:waypoint x="303" y="154.5"/>
        <di:waypoint x="340" y="154.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_6" bpmnElement="sequence-flow_6">
        <di:waypoint x="440" y="154.5"/>
        <di:waypoint x="490" y="154.5"/>
        <di:waypoint x="490" y="154.5"/>
        <di:waypoint x="540" y="154.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="BPMNShape_pool_2" bpmnElement="pool_2">
        <dc:Bounds x="130" y="310" width="752" height="200"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_swimlane_2" bpmnElement="swimlane_2">
        <dc:Bounds x="160" y="310" width="722" height="200"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_start-event_2" bpmnElement="start-event_2">
        <dc:Bounds x="200" y="392.5" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_message-catching-event_1" bpmnElement="message-catching-event_1">
        <dc:Bounds x="530" y="330" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_end-event_2" bpmnElement="end-event_2">
        <dc:Bounds x="820" y="392.5" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_message-catching-event_2" bpmnElement="message-catching-event_2">
        <dc:Bounds x="530" y="440" width="35" height="35"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_parallel-gateway_1" bpmnElement="parallel-gateway_1">
        <dc:Bounds x="310" y="390" width="40" height="40"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BPMNShape_parallel-gateway_2" bpmnElement="parallel-gateway_2">
        <dc:Bounds x="720" y="390" width="40" height="40"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_7" bpmnElement="sequence-flow_7">
        <di:waypoint x="235" y="410"/>
        <di:waypoint x="273" y="410"/>
        <di:waypoint x="273" y="410"/>
        <di:waypoint x="310" y="410"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_8" bpmnElement="sequence-flow_8">
        <di:waypoint x="350" y="410"/>
        <di:waypoint x="440" y="410"/>
        <di:waypoint x="440" y="347.5"/>
        <di:waypoint x="530" y="347.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_9" bpmnElement="sequence-flow_9">
        <di:waypoint x="350" y="410"/>
        <di:waypoint x="440" y="410"/>
        <di:waypoint x="440" y="457.5"/>
        <di:waypoint x="530" y="457.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_12" bpmnElement="sequence-flow_12">
        <di:waypoint x="760" y="410"/>
        <di:waypoint x="790" y="410"/>
        <di:waypoint x="790" y="410"/>
        <di:waypoint x="820" y="410"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_10" bpmnElement="sequence-flow_10">
        <di:waypoint x="565" y="347.5"/>
        <di:waypoint x="643" y="347.5"/>
        <di:waypoint x="643" y="410"/>
        <di:waypoint x="720" y="410"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_sequence-flow_11" bpmnElement="sequence-flow_11">
        <di:waypoint x="565" y="457.5"/>
        <di:waypoint x="643" y="457.5"/>
        <di:waypoint x="643" y="410"/>
        <di:waypoint x="720" y="410"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>