Difference between revisions of "BPMN:Ordering process"

From Discourse DB
Jump to navigation Jump to search
(Added text)
Line 2: Line 2:
 
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
 
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
 
   <bpmn:process id="Process_1" isExecutable="false">
 
   <bpmn:process id="Process_1" isExecutable="false">
     <bpmn:startEvent id="StartEvent_1">
+
     <bpmn:startEvent id="StartEvent_1" name="New order request">
       <bpmn:outgoing>SequenceFlow_0t60w84</bpmn:outgoing>
+
       <bpmn:outgoing>SequenceFlow_1sd8rxp</bpmn:outgoing>
 
     </bpmn:startEvent>
 
     </bpmn:startEvent>
     <bpmn:exclusiveGateway id="ExclusiveGateway_0wfq6lu">
+
    <bpmn:task id="Task_1r0a1q6" name="Receive order">
       <bpmn:incoming>SequenceFlow_0t60w84</bpmn:incoming>
+
      <bpmn:incoming>SequenceFlow_1sd8rxp</bpmn:incoming>
 +
      <bpmn:outgoing>SequenceFlow_14qz2wq</bpmn:outgoing>
 +
    </bpmn:task>
 +
    <bpmn:sequenceFlow id="SequenceFlow_1sd8rxp" sourceRef="StartEvent_1" targetRef="Task_1r0a1q6" />
 +
    <bpmn:task id="Task_1incw5t" name="Check availability">
 +
      <bpmn:incoming>SequenceFlow_14qz2wq</bpmn:incoming>
 +
      <bpmn:outgoing>SequenceFlow_0v1smnj</bpmn:outgoing>
 +
    </bpmn:task>
 +
    <bpmn:sequenceFlow id="SequenceFlow_14qz2wq" sourceRef="Task_1r0a1q6" targetRef="Task_1incw5t" />
 +
     <bpmn:exclusiveGateway id="ExclusiveGateway_0bwib4l" name="Order available?">
 +
       <bpmn:incoming>SequenceFlow_0v1smnj</bpmn:incoming>
 +
      <bpmn:outgoing>SequenceFlow_13yymog</bpmn:outgoing>
 +
      <bpmn:outgoing>SequenceFlow_1iq2k8t</bpmn:outgoing>
 
     </bpmn:exclusiveGateway>
 
     </bpmn:exclusiveGateway>
     <bpmn:sequenceFlow id="SequenceFlow_0t60w84" sourceRef="StartEvent_1" targetRef="ExclusiveGateway_0wfq6lu" />
+
     <bpmn:sequenceFlow id="SequenceFlow_0v1smnj" sourceRef="Task_1incw5t" targetRef="ExclusiveGateway_0bwib4l" />
     <bpmn:textAnnotation id="TextAnnotation_1ykcg3i" />
+
     <bpmn:task id="Task_0kclquc" name="Ship order">
     <bpmn:association id="Association_0oqeqzc" sourceRef="ExclusiveGateway_0wfq6lu" targetRef="TextAnnotation_1ykcg3i" />
+
      <bpmn:incoming>SequenceFlow_13yymog</bpmn:incoming>
 +
      <bpmn:outgoing>SequenceFlow_0ov0img</bpmn:outgoing>
 +
    </bpmn:task>
 +
    <bpmn:sequenceFlow id="SequenceFlow_13yymog" name="Yes" sourceRef="ExclusiveGateway_0bwib4l" targetRef="Task_0kclquc" />
 +
    <bpmn:task id="Task_1iznqaa" name="Request order from supplier">
 +
      <bpmn:incoming>SequenceFlow_1iq2k8t</bpmn:incoming>
 +
    </bpmn:task>
 +
    <bpmn:sequenceFlow id="SequenceFlow_1iq2k8t" name="No" sourceRef="ExclusiveGateway_0bwib4l" targetRef="Task_1iznqaa" />
 +
    <bpmn:endEvent id="EndEvent_0luc7e4" name="Order fulfilled">
 +
      <bpmn:incoming>SequenceFlow_0ov0img</bpmn:incoming>
 +
    </bpmn:endEvent>
 +
     <bpmn:sequenceFlow id="SequenceFlow_0ov0img" sourceRef="Task_0kclquc" targetRef="EndEvent_0luc7e4" />
 
   </bpmn:process>
 
   </bpmn:process>
 
   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
 
   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
Line 16: Line 39:
 
       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
 
       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
 
         <dc:Bounds x="173" y="102" width="36" height="36" />
 
         <dc:Bounds x="173" y="102" width="36" height="36" />
 +
        <bpmndi:BPMNLabel>
 +
          <dc:Bounds x="165" y="145" width="52" height="27" />
 +
        </bpmndi:BPMNLabel>
 
       </bpmndi:BPMNShape>
 
       </bpmndi:BPMNShape>
       <bpmndi:BPMNShape id="ExclusiveGateway_0wfq6lu_di" bpmnElement="ExclusiveGateway_0wfq6lu" isMarkerVisible="true">
+
       <bpmndi:BPMNShape id="Task_1r0a1q6_di" bpmnElement="Task_1r0a1q6">
         <dc:Bounds x="265" y="95" width="50" height="50" />
+
         <dc:Bounds x="260" y="80" width="100" height="80" />
 
       </bpmndi:BPMNShape>
 
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="SequenceFlow_0t60w84_di" bpmnElement="SequenceFlow_0t60w84">
+
       <bpmndi:BPMNEdge id="SequenceFlow_1sd8rxp_di" bpmnElement="SequenceFlow_1sd8rxp">
 
         <di:waypoint x="209" y="120" />
 
         <di:waypoint x="209" y="120" />
         <di:waypoint x="265" y="120" />
+
         <di:waypoint x="260" y="120" />
 
       </bpmndi:BPMNEdge>
 
       </bpmndi:BPMNEdge>
       <bpmndi:BPMNShape id="TextAnnotation_1ykcg3i_di" bpmnElement="TextAnnotation_1ykcg3i">
+
       <bpmndi:BPMNShape id="Task_1incw5t_di" bpmnElement="Task_1incw5t">
         <dc:Bounds x="320" y="10" width="100" height="30" />
+
         <dc:Bounds x="420" y="80" width="100" height="80" />
 
       </bpmndi:BPMNShape>
 
       </bpmndi:BPMNShape>
       <bpmndi:BPMNEdge id="Association_0oqeqzc_di" bpmnElement="Association_0oqeqzc">
+
       <bpmndi:BPMNEdge id="SequenceFlow_14qz2wq_di" bpmnElement="SequenceFlow_14qz2wq">
         <di:waypoint x="301" y="106" />
+
         <di:waypoint x="360" y="120" />
         <di:waypoint x="357" y="40" />
+
         <di:waypoint x="420" y="120" />
 +
      </bpmndi:BPMNEdge>
 +
      <bpmndi:BPMNShape id="ExclusiveGateway_0bwib4l_di" bpmnElement="ExclusiveGateway_0bwib4l" isMarkerVisible="true">
 +
        <dc:Bounds x="585" y="95" width="50" height="50" />
 +
        <bpmndi:BPMNLabel>
 +
          <dc:Bounds x="569" y="71" width="81" height="14" />
 +
        </bpmndi:BPMNLabel>
 +
      </bpmndi:BPMNShape>
 +
      <bpmndi:BPMNEdge id="SequenceFlow_0v1smnj_di" bpmnElement="SequenceFlow_0v1smnj">
 +
        <di:waypoint x="520" y="120" />
 +
        <di:waypoint x="585" y="120" />
 +
      </bpmndi:BPMNEdge>
 +
      <bpmndi:BPMNShape id="Task_0kclquc_di" bpmnElement="Task_0kclquc">
 +
        <dc:Bounds x="700" y="80" width="100" height="80" />
 +
      </bpmndi:BPMNShape>
 +
      <bpmndi:BPMNEdge id="SequenceFlow_13yymog_di" bpmnElement="SequenceFlow_13yymog">
 +
        <di:waypoint x="635" y="120" />
 +
        <di:waypoint x="700" y="120" />
 +
        <bpmndi:BPMNLabel>
 +
          <dc:Bounds x="657" y="103" width="18" height="14" />
 +
        </bpmndi:BPMNLabel>
 +
      </bpmndi:BPMNEdge>
 +
      <bpmndi:BPMNShape id="Task_1iznqaa_di" bpmnElement="Task_1iznqaa">
 +
        <dc:Bounds x="700" y="190" width="100" height="80" />
 +
      </bpmndi:BPMNShape>
 +
      <bpmndi:BPMNEdge id="SequenceFlow_1iq2k8t_di" bpmnElement="SequenceFlow_1iq2k8t">
 +
        <di:waypoint x="610" y="145" />
 +
        <di:waypoint x="610" y="230" />
 +
        <di:waypoint x="700" y="230" />
 +
        <bpmndi:BPMNLabel>
 +
          <dc:Bounds x="660" y="213" width="15" height="14" />
 +
        </bpmndi:BPMNLabel>
 +
      </bpmndi:BPMNEdge>
 +
      <bpmndi:BPMNShape id="EndEvent_0luc7e4_di" bpmnElement="EndEvent_0luc7e4">
 +
        <dc:Bounds x="872" y="102" width="36" height="36" />
 +
        <bpmndi:BPMNLabel>
 +
          <dc:Bounds x="857" y="145" width="66" height="14" />
 +
        </bpmndi:BPMNLabel>
 +
      </bpmndi:BPMNShape>
 +
      <bpmndi:BPMNEdge id="SequenceFlow_0ov0img_di" bpmnElement="SequenceFlow_0ov0img">
 +
        <di:waypoint x="800" y="120" />
 +
        <di:waypoint x="872" y="120" />
 
       </bpmndi:BPMNEdge>
 
       </bpmndi:BPMNEdge>
 
     </bpmndi:BPMNPlane>
 
     </bpmndi:BPMNPlane>
 
   </bpmndi:BPMNDiagram>
 
   </bpmndi:BPMNDiagram>
 
</bpmn:definitions>
 
</bpmn:definitions>

Revision as of 02:50, July 20, 2020

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:startEvent id="StartEvent_1" name="New order request">
      <bpmn:outgoing>SequenceFlow_1sd8rxp</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:task id="Task_1r0a1q6" name="Receive order">
      <bpmn:incoming>SequenceFlow_1sd8rxp</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_14qz2wq</bpmn:outgoing>
    </bpmn:task>
    <bpmn:sequenceFlow id="SequenceFlow_1sd8rxp" sourceRef="StartEvent_1" targetRef="Task_1r0a1q6" />
    <bpmn:task id="Task_1incw5t" name="Check availability">
      <bpmn:incoming>SequenceFlow_14qz2wq</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0v1smnj</bpmn:outgoing>
    </bpmn:task>
    <bpmn:sequenceFlow id="SequenceFlow_14qz2wq" sourceRef="Task_1r0a1q6" targetRef="Task_1incw5t" />
    <bpmn:exclusiveGateway id="ExclusiveGateway_0bwib4l" name="Order available?">
      <bpmn:incoming>SequenceFlow_0v1smnj</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_13yymog</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_1iq2k8t</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_0v1smnj" sourceRef="Task_1incw5t" targetRef="ExclusiveGateway_0bwib4l" />
    <bpmn:task id="Task_0kclquc" name="Ship order">
      <bpmn:incoming>SequenceFlow_13yymog</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0ov0img</bpmn:outgoing>
    </bpmn:task>
    <bpmn:sequenceFlow id="SequenceFlow_13yymog" name="Yes" sourceRef="ExclusiveGateway_0bwib4l" targetRef="Task_0kclquc" />
    <bpmn:task id="Task_1iznqaa" name="Request order from supplier">
      <bpmn:incoming>SequenceFlow_1iq2k8t</bpmn:incoming>
    </bpmn:task>
    <bpmn:sequenceFlow id="SequenceFlow_1iq2k8t" name="No" sourceRef="ExclusiveGateway_0bwib4l" targetRef="Task_1iznqaa" />
    <bpmn:endEvent id="EndEvent_0luc7e4" name="Order fulfilled">
      <bpmn:incoming>SequenceFlow_0ov0img</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_0ov0img" sourceRef="Task_0kclquc" targetRef="EndEvent_0luc7e4" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="173" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="165" y="145" width="52" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_1r0a1q6_di" bpmnElement="Task_1r0a1q6">
        <dc:Bounds x="260" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1sd8rxp_di" bpmnElement="SequenceFlow_1sd8rxp">
        <di:waypoint x="209" y="120" />
        <di:waypoint x="260" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_1incw5t_di" bpmnElement="Task_1incw5t">
        <dc:Bounds x="420" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_14qz2wq_di" bpmnElement="SequenceFlow_14qz2wq">
        <di:waypoint x="360" y="120" />
        <di:waypoint x="420" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_0bwib4l_di" bpmnElement="ExclusiveGateway_0bwib4l" isMarkerVisible="true">
        <dc:Bounds x="585" y="95" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="569" y="71" width="81" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0v1smnj_di" bpmnElement="SequenceFlow_0v1smnj">
        <di:waypoint x="520" y="120" />
        <di:waypoint x="585" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_0kclquc_di" bpmnElement="Task_0kclquc">
        <dc:Bounds x="700" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_13yymog_di" bpmnElement="SequenceFlow_13yymog">
        <di:waypoint x="635" y="120" />
        <di:waypoint x="700" y="120" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="657" y="103" width="18" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Task_1iznqaa_di" bpmnElement="Task_1iznqaa">
        <dc:Bounds x="700" y="190" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1iq2k8t_di" bpmnElement="SequenceFlow_1iq2k8t">
        <di:waypoint x="610" y="145" />
        <di:waypoint x="610" y="230" />
        <di:waypoint x="700" y="230" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="660" y="213" width="15" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_0luc7e4_di" bpmnElement="EndEvent_0luc7e4">
        <dc:Bounds x="872" y="102" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="857" y="145" width="66" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0ov0img_di" bpmnElement="SequenceFlow_0ov0img">
        <di:waypoint x="800" y="120" />
        <di:waypoint x="872" y="120" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>