demo-process-models/playground/dan/tyler-and-val/tylerandval.bpmn

207 lines
10 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
<bpmn:collaboration id="Collaboration_01xlruh">
<bpmn:participant id="Participant_0lzwmkb" processRef="Process_8gwiixg" />
</bpmn:collaboration>
<bpmn:process id="Process_8gwiixg" isExecutable="true">
<bpmn:laneSet id="LaneSet_1azjt0s">
<bpmn:lane id="Lane_0wly0sj" name="Sales Manager">
<bpmn:flowNodeRef>Activity_0yfi5hw</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_0ckx9hw</bpmn:flowNodeRef>
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_1185qbc" name="Boss">
<bpmn:flowNodeRef>Activity_0u156a0</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_042s0m9</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_0ce9jcr</bpmn:flowNodeRef>
<bpmn:childLaneSet id="LaneSet_0dzfgpq" />
</bpmn:lane>
<bpmn:lane id="Lane_064l682" name="Shipping">
<bpmn:flowNodeRef>Activity_0stm73k</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_1627q6g</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:serviceTask id="Activity_0yfi5hw" name="ApiLogicServer - load record">
<bpmn:incoming>Flow_11et5v7</bpmn:incoming>
<bpmn:outgoing>Flow_1iwyngv</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0ckx9hw">
<bpmn:incoming>Flow_1iwyngv</bpmn:incoming>
<bpmn:outgoing>Flow_0e0vf1d</bpmn:outgoing>
<bpmn:outgoing>Flow_19pmw0u</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:userTask id="Activity_0u156a0" name="Approval">
<bpmn:extensionElements>
<spiffworkflow:postScript>
x = 1
</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0e0vf1d</bpmn:incoming>
<bpmn:outgoing>Flow_198brwm</bpmn:outgoing>
<bpmn:dataOutputAssociation id="DataOutputAssociation_1x6l7x1">
<bpmn:targetRef>DataStoreReference_0z4rtdf</bpmn:targetRef>
</bpmn:dataOutputAssociation>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_042s0m9">
<bpmn:incoming>Flow_198brwm</bpmn:incoming>
<bpmn:outgoing>Flow_0gmxitp</bpmn:outgoing>
<bpmn:outgoing>Flow_0pbeh4u</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="Event_0ce9jcr">
<bpmn:incoming>Flow_0pbeh4u</bpmn:incoming>
</bpmn:endEvent>
<bpmn:task id="Activity_0stm73k" name="Ship">
<bpmn:incoming>Flow_19pmw0u</bpmn:incoming>
<bpmn:incoming>Flow_0gmxitp</bpmn:incoming>
<bpmn:outgoing>Flow_047pnjg</bpmn:outgoing>
</bpmn:task>
<bpmn:endEvent id="Event_1627q6g">
<bpmn:incoming>Flow_047pnjg</bpmn:incoming>
</bpmn:endEvent>
<bpmn:dataStoreReference id="DataStoreReference_0z4rtdf" name="row" />
<bpmn:sequenceFlow id="Flow_11et5v7" sourceRef="StartEvent_1" targetRef="Activity_0yfi5hw" />
<bpmn:sequenceFlow id="Flow_1iwyngv" sourceRef="Activity_0yfi5hw" targetRef="Gateway_0ckx9hw" />
<bpmn:sequenceFlow id="Flow_0e0vf1d" name="row.total &#62; 5000" sourceRef="Gateway_0ckx9hw" targetRef="Activity_0u156a0">
<bpmn:conditionExpression>total &gt; 5000</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_19pmw0u" name="row.total &#60;= 5000" sourceRef="Gateway_0ckx9hw" targetRef="Activity_0stm73k" />
<bpmn:sequenceFlow id="Flow_198brwm" sourceRef="Activity_0u156a0" targetRef="Gateway_042s0m9" />
<bpmn:sequenceFlow id="Flow_0gmxitp" name="do it" sourceRef="Gateway_042s0m9" targetRef="Activity_0stm73k" />
<bpmn:sequenceFlow id="Flow_0pbeh4u" name="nope" sourceRef="Gateway_042s0m9" targetRef="Event_0ce9jcr" />
<bpmn:sequenceFlow id="Flow_047pnjg" sourceRef="Activity_0stm73k" targetRef="Event_1627q6g" />
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_11et5v7</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:textAnnotation id="TextAnnotation_1iq55k0">
<bpmn:text>{ row {
  id: 21
  total: 5000
....
}</bpmn:text>
</bpmn:textAnnotation>
<bpmn:textAnnotation id="TextAnnotation_0r3rd9w">
<bpmn:text>http://..../start_order
{ order_number: 21 }</bpmn:text>
</bpmn:textAnnotation>
<bpmn:association id="Association_0410pdl" sourceRef="Activity_0yfi5hw" targetRef="TextAnnotation_1iq55k0" />
<bpmn:association id="Association_1y7d3ws" sourceRef="StartEvent_1" targetRef="TextAnnotation_0r3rd9w" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_01xlruh">
<bpmndi:BPMNShape id="Participant_0lzwmkb_di" bpmnElement="Participant_0lzwmkb" isHorizontal="true">
<dc:Bounds x="-110" y="-173" width="1060" height="610" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_0wly0sj_di" bpmnElement="Lane_0wly0sj" isHorizontal="true">
<dc:Bounds x="-80" y="-173" width="1030" height="245" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_1185qbc_di" bpmnElement="Lane_1185qbc" isHorizontal="true">
<dc:Bounds x="-80" y="72" width="1030" height="245" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_064l682_di" bpmnElement="Lane_064l682" isHorizontal="true">
<dc:Bounds x="-80" y="317" width="1030" height="120" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_1iq55k0_di" bpmnElement="TextAnnotation_1iq55k0">
<dc:Bounds x="160" y="-153" width="100" height="84" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_0r3rd9w_di" bpmnElement="TextAnnotation_0r3rd9w">
<dc:Bounds x="-30" y="-139" width="150" height="55" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_10pp57l_di" bpmnElement="Activity_0yfi5hw">
<dc:Bounds x="30" y="-34" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0ckx9hw_di" bpmnElement="Gateway_0ckx9hw" isMarkerVisible="true">
<dc:Bounds x="215" y="-19" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_18b8s05_di" bpmnElement="Activity_0u156a0">
<dc:Bounds x="340" y="156" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_042s0m9_di" bpmnElement="Gateway_042s0m9" isMarkerVisible="true">
<dc:Bounds x="515" y="171" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ce9jcr_di" bpmnElement="Event_0ce9jcr">
<dc:Bounds x="652" y="178" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0stm73k_di" bpmnElement="Activity_0stm73k">
<dc:Bounds x="490" y="336" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1627q6g_di" bpmnElement="Event_1627q6g">
<dc:Bounds x="662" y="358" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_0z4rtdf_di" bpmnElement="DataStoreReference_0z4rtdf">
<dc:Bounds x="365" y="1" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="381" y="-21" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1fwlqki_di" bpmnElement="StartEvent_1">
<dc:Bounds x="-48" y="-12" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_0410pdl_di" bpmnElement="Association_0410pdl">
<di:waypoint x="116" y="-34" />
<di:waypoint x="160" y="-83" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1y7d3ws_di" bpmnElement="Association_1y7d3ws">
<di:waypoint x="-24" y="-11" />
<di:waypoint x="5" y="-84" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11et5v7_di" bpmnElement="Flow_11et5v7">
<di:waypoint x="-12" y="6" />
<di:waypoint x="30" y="6" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1iwyngv_di" bpmnElement="Flow_1iwyngv">
<di:waypoint x="130" y="6" />
<di:waypoint x="215" y="6" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0e0vf1d_di" bpmnElement="Flow_0e0vf1d">
<di:waypoint x="240" y="31" />
<di:waypoint x="240" y="196" />
<di:waypoint x="340" y="196" />
<bpmndi:BPMNLabel>
<dc:Bounds x="252" y="178" width="78" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_19pmw0u_di" bpmnElement="Flow_19pmw0u">
<di:waypoint x="240" y="31" />
<di:waypoint x="240" y="376" />
<di:waypoint x="490" y="376" />
<bpmndi:BPMNLabel>
<dc:Bounds x="248" y="349" width="85" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_198brwm_di" bpmnElement="Flow_198brwm">
<di:waypoint x="440" y="196" />
<di:waypoint x="515" y="196" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0gmxitp_di" bpmnElement="Flow_0gmxitp">
<di:waypoint x="540" y="221" />
<di:waypoint x="540" y="336" />
<bpmndi:BPMNLabel>
<dc:Bounds x="549" y="283" width="21" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0pbeh4u_di" bpmnElement="Flow_0pbeh4u">
<di:waypoint x="565" y="196" />
<di:waypoint x="652" y="196" />
<bpmndi:BPMNLabel>
<dc:Bounds x="596" y="178" width="25" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_047pnjg_di" bpmnElement="Flow_047pnjg">
<di:waypoint x="590" y="376" />
<di:waypoint x="662" y="376" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_1x6l7x1_di" bpmnElement="DataOutputAssociation_1x6l7x1">
<di:waypoint x="390" y="156" />
<di:waypoint x="390" y="51" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>