mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
191 lines
9.5 KiB
Plaintext
191 lines
9.5 KiB
Plaintext
|
<?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: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:process id="Process_unit_test_inclusive_gateway_with_sub_processes_r8sb7by13" isExecutable="true">
|
||
|
<bpmn:startEvent id="StartEvent_1">
|
||
|
<bpmn:outgoing>Flow_1pili64</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1pili64" sourceRef="StartEvent_1" targetRef="Activity_0uzja1w" />
|
||
|
<bpmn:sequenceFlow id="Flow_0hns4e9" sourceRef="Activity_0uzja1w" targetRef="Gateway_1iah58v" />
|
||
|
<bpmn:sequenceFlow id="Flow_1hrzqes" sourceRef="Gateway_1iah58v" targetRef="Activity_0m01gfb">
|
||
|
<bpmn:conditionExpression>a>0</bpmn:conditionExpression>
|
||
|
</bpmn:sequenceFlow>
|
||
|
<bpmn:sequenceFlow id="Flow_0dsuxde" sourceRef="Gateway_1iah58v" targetRef="Activity_0wtepd6">
|
||
|
<bpmn:conditionExpression>b>0</bpmn:conditionExpression>
|
||
|
</bpmn:sequenceFlow>
|
||
|
<bpmn:sequenceFlow id="Flow_1prpmv8" sourceRef="Activity_0m01gfb" targetRef="Gateway_1lhmgtn" />
|
||
|
<bpmn:sequenceFlow id="Flow_0zyub4p" sourceRef="Activity_0wtepd6" targetRef="Gateway_1lhmgtn" />
|
||
|
<bpmn:scriptTask id="Activity_0uzja1w" name="Set vars">
|
||
|
<bpmn:incoming>Flow_1pili64</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0hns4e9</bpmn:outgoing>
|
||
|
<bpmn:script>a=1
|
||
|
b=1
|
||
|
|
||
|
p=10</bpmn:script>
|
||
|
</bpmn:scriptTask>
|
||
|
<bpmn:inclusiveGateway id="Gateway_1iah58v">
|
||
|
<bpmn:incoming>Flow_0hns4e9</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1hrzqes</bpmn:outgoing>
|
||
|
<bpmn:outgoing>Flow_0dsuxde</bpmn:outgoing>
|
||
|
</bpmn:inclusiveGateway>
|
||
|
<bpmn:inclusiveGateway id="Gateway_1lhmgtn">
|
||
|
<bpmn:incoming>Flow_1prpmv8</bpmn:incoming>
|
||
|
<bpmn:incoming>Flow_0zyub4p</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_13erl8a</bpmn:outgoing>
|
||
|
</bpmn:inclusiveGateway>
|
||
|
<bpmn:sequenceFlow id="Flow_13erl8a" sourceRef="Gateway_1lhmgtn" targetRef="Activity_0kp9aaf" />
|
||
|
<bpmn:scriptTask id="Activity_0kp9aaf" name="Increment p">
|
||
|
<bpmn:incoming>Flow_13erl8a</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1s8dggu</bpmn:outgoing>
|
||
|
<bpmn:script>p=p+1</bpmn:script>
|
||
|
</bpmn:scriptTask>
|
||
|
<bpmn:endEvent id="Event_1l8selz">
|
||
|
<bpmn:incoming>Flow_1s8dggu</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1s8dggu" sourceRef="Activity_0kp9aaf" targetRef="Event_1l8selz" />
|
||
|
<bpmn:subProcess id="Activity_0m01gfb" name="Sub Process to set X">
|
||
|
<bpmn:incoming>Flow_1hrzqes</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1prpmv8</bpmn:outgoing>
|
||
|
<bpmn:startEvent id="Event_1kksoam">
|
||
|
<bpmn:outgoing>Flow_0lmfcve</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0lmfcve" sourceRef="Event_1kksoam" targetRef="Activity_0h5fq78" />
|
||
|
<bpmn:endEvent id="Event_0jr1udb">
|
||
|
<bpmn:incoming>Flow_0fcj1pc</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0fcj1pc" sourceRef="Activity_0h5fq78" targetRef="Event_0jr1udb" />
|
||
|
<bpmn:scriptTask id="Activity_0h5fq78" name="x=10">
|
||
|
<bpmn:incoming>Flow_0lmfcve</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0fcj1pc</bpmn:outgoing>
|
||
|
<bpmn:script>x=10</bpmn:script>
|
||
|
</bpmn:scriptTask>
|
||
|
</bpmn:subProcess>
|
||
|
<bpmn:subProcess id="Activity_0wtepd6" name="Get Xero Currency">
|
||
|
<bpmn:incoming>Flow_0dsuxde</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_0zyub4p</bpmn:outgoing>
|
||
|
<bpmn:startEvent id="Event_1opjrkl">
|
||
|
<bpmn:outgoing>Flow_1aeesw0</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1aeesw0" sourceRef="Event_1opjrkl" targetRef="Activity_0v6t2st" />
|
||
|
<bpmn:endEvent id="Event_1r1eing">
|
||
|
<bpmn:incoming>Flow_1foagjl</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1foagjl" sourceRef="Activity_0v6t2st" targetRef="Event_1r1eing" />
|
||
|
<bpmn:callActivity id="Activity_0v6t2st" name="Call Activity" calledElement="Set_Xero_Currencies_Enum_List">
|
||
|
<bpmn:incoming>Flow_1aeesw0</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1foagjl</bpmn:outgoing>
|
||
|
</bpmn:callActivity>
|
||
|
</bpmn:subProcess>
|
||
|
</bpmn:process>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_unit_test_inclusive_gateway_with_sub_processes_r8sb7by13">
|
||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||
|
<dc:Bounds x="-128" y="102" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_0jbxe8o_di" bpmnElement="Activity_0uzja1w">
|
||
|
<dc:Bounds x="-30" y="80" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Gateway_03voh7x_di" bpmnElement="Gateway_1iah58v">
|
||
|
<dc:Bounds x="125" y="95" width="50" height="50" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Gateway_1hrh1gq_di" bpmnElement="Gateway_1lhmgtn">
|
||
|
<dc:Bounds x="385" y="95" width="50" height="50" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_1cnzece_di" bpmnElement="Activity_0kp9aaf">
|
||
|
<dc:Bounds x="490" y="80" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_1l8selz_di" bpmnElement="Event_1l8selz">
|
||
|
<dc:Bounds x="652" y="102" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_101qt8d_di" bpmnElement="Activity_0m01gfb">
|
||
|
<dc:Bounds x="230" y="-20" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_14fxh43_di" bpmnElement="Activity_0wtepd6">
|
||
|
<dc:Bounds x="230" y="190" width="100" height="80" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_1pili64_di" bpmnElement="Flow_1pili64">
|
||
|
<di:waypoint x="-92" y="120" />
|
||
|
<di:waypoint x="-30" y="120" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0hns4e9_di" bpmnElement="Flow_0hns4e9">
|
||
|
<di:waypoint x="70" y="120" />
|
||
|
<di:waypoint x="125" y="120" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1hrzqes_di" bpmnElement="Flow_1hrzqes">
|
||
|
<di:waypoint x="150" y="95" />
|
||
|
<di:waypoint x="150" y="20" />
|
||
|
<di:waypoint x="230" y="20" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0dsuxde_di" bpmnElement="Flow_0dsuxde">
|
||
|
<di:waypoint x="150" y="145" />
|
||
|
<di:waypoint x="150" y="230" />
|
||
|
<di:waypoint x="230" y="230" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1prpmv8_di" bpmnElement="Flow_1prpmv8">
|
||
|
<di:waypoint x="330" y="20" />
|
||
|
<di:waypoint x="410" y="20" />
|
||
|
<di:waypoint x="410" y="95" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0zyub4p_di" bpmnElement="Flow_0zyub4p">
|
||
|
<di:waypoint x="330" y="230" />
|
||
|
<di:waypoint x="410" y="230" />
|
||
|
<di:waypoint x="410" y="145" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_13erl8a_di" bpmnElement="Flow_13erl8a">
|
||
|
<di:waypoint x="435" y="120" />
|
||
|
<di:waypoint x="490" y="120" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1s8dggu_di" bpmnElement="Flow_1s8dggu">
|
||
|
<di:waypoint x="590" y="120" />
|
||
|
<di:waypoint x="652" y="120" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1no92fm">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_17sawto" bpmnElement="Activity_0m01gfb">
|
||
|
<bpmndi:BPMNShape id="Event_1kksoam_di" bpmnElement="Event_1kksoam">
|
||
|
<dc:Bounds x="422" y="272" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_0jr1udb_di" bpmnElement="Event_0jr1udb">
|
||
|
<dc:Bounds x="662" y="272" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_0vcm1k9_di" bpmnElement="Activity_0h5fq78">
|
||
|
<dc:Bounds x="510" y="250" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_0lmfcve_di" bpmnElement="Flow_0lmfcve">
|
||
|
<di:waypoint x="458" y="290" />
|
||
|
<di:waypoint x="510" y="290" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_0fcj1pc_di" bpmnElement="Flow_0fcj1pc">
|
||
|
<di:waypoint x="610" y="290" />
|
||
|
<di:waypoint x="662" y="290" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_17kpamo">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1mqioe4" bpmnElement="Activity_0wtepd6">
|
||
|
<bpmndi:BPMNShape id="Event_1opjrkl_di" bpmnElement="Event_1opjrkl">
|
||
|
<dc:Bounds x="392" y="292" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_1r1eing_di" bpmnElement="Event_1r1eing">
|
||
|
<dc:Bounds x="632" y="292" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_0dnr0cu_di" bpmnElement="Activity_0v6t2st">
|
||
|
<dc:Bounds x="480" y="270" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_1aeesw0_di" bpmnElement="Flow_1aeesw0">
|
||
|
<di:waypoint x="428" y="310" />
|
||
|
<di:waypoint x="480" y="310" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1foagjl_di" bpmnElement="Flow_1foagjl">
|
||
|
<di:waypoint x="580" y="310" />
|
||
|
<di:waypoint x="632" y="310" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</bpmn:definitions>
|