mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
219 lines
11 KiB
XML
219 lines
11 KiB
XML
<?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" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
|
<bpmn:process id="Terminate_End_Event" name="Terminate End Event" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1" name="Start">
|
|
<bpmn:outgoing>Flow_1nqox7o</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_1nqox7o" sourceRef="StartEvent_1" targetRef="Activity_1yzo3qi" />
|
|
<bpmn:manualTask id="Activity_1yzo3qi" name="Apply Leave">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser>Leave Application</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1nqox7o</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1rtent4</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_1rtent4" sourceRef="Activity_1yzo3qi" targetRef="Gateway_1avmbmo" />
|
|
<bpmn:sequenceFlow id="Flow_0nyz9v7" sourceRef="Gateway_1avmbmo" targetRef="User_Task_Supervisor" />
|
|
<bpmn:sequenceFlow id="Flow_1su8ukg" sourceRef="Gateway_1avmbmo" targetRef="User_Task_Manager" />
|
|
<bpmn:parallelGateway id="Gateway_1avmbmo">
|
|
<bpmn:incoming>Flow_1rtent4</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0nyz9v7</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_1su8ukg</bpmn:outgoing>
|
|
</bpmn:parallelGateway>
|
|
<bpmn:exclusiveGateway id="Gateway_1ge8lqx">
|
|
<bpmn:incoming>Flow_0swxi79</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1fc3fz4</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_03ztcs9</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:sequenceFlow id="Flow_0swxi79" sourceRef="User_Task_Supervisor" targetRef="Gateway_1ge8lqx" />
|
|
<bpmn:exclusiveGateway id="Gateway_0pps91p">
|
|
<bpmn:incoming>Flow_1lth0az</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0p7arnp</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_08urxnj</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:sequenceFlow id="Flow_1lth0az" sourceRef="User_Task_Manager" targetRef="Gateway_0pps91p" />
|
|
<bpmn:sequenceFlow id="Flow_1fc3fz4" name="Reject" sourceRef="Gateway_1ge8lqx" targetRef="Activity_1x1u44j">
|
|
<bpmn:conditionExpression>supervisor_decision=="Reject"</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:sequenceFlow id="Flow_07wir30" sourceRef="Activity_1x1u44j" targetRef="Event_1mc5o0o" />
|
|
<bpmn:sequenceFlow id="Flow_0p7arnp" name="Reject" sourceRef="Gateway_0pps91p" targetRef="Activity_1x1u44j">
|
|
<bpmn:conditionExpression>manager_decision == "Reject"</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:endEvent id="Event_042ru4w" name="End">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser>End Unit Test Terminate End Event.</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_04borf4</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:endEvent id="Event_1mc5o0o" name="Teminate Process">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:instructionsForEndUser>End Terminate End Event Unit Test</spiffworkflow:instructionsForEndUser>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_07wir30</bpmn:incoming>
|
|
<bpmn:terminateEventDefinition id="TerminateEventDefinition_0pi6slu" />
|
|
</bpmn:endEvent>
|
|
<bpmn:userTask id="User_Task_Supervisor" name="Supervisor Approval">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:properties>
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="supervisor-approval-schema.json" />
|
|
</spiffworkflow:properties>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_0nyz9v7</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0swxi79</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:userTask id="User_Task_Manager" name="Manager Approval">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:properties>
|
|
<spiffworkflow:property name="formJsonSchemaFilename" value="manager-approval-schema.json" />
|
|
</spiffworkflow:properties>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1su8ukg</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1lth0az</bpmn:outgoing>
|
|
</bpmn:userTask>
|
|
<bpmn:manualTask id="Activity_1x1u44j" name="Leave Rejected">
|
|
<bpmn:incoming>Flow_1fc3fz4</bpmn:incoming>
|
|
<bpmn:incoming>Flow_0p7arnp</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_07wir30</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:manualTask id="Activity_15886fg" name="Leave Approved">
|
|
<bpmn:incoming>Flow_1ne1cgv</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_04borf4</bpmn:outgoing>
|
|
</bpmn:manualTask>
|
|
<bpmn:sequenceFlow id="Flow_04borf4" sourceRef="Activity_15886fg" targetRef="Event_042ru4w" />
|
|
<bpmn:sequenceFlow id="Flow_08urxnj" name="Approve" sourceRef="Gateway_0pps91p" targetRef="Gateway_03ggtm7">
|
|
<bpmn:conditionExpression>manager_decision == "Approve"</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:sequenceFlow id="Flow_03ztcs9" name="Approve" sourceRef="Gateway_1ge8lqx" targetRef="Gateway_03ggtm7">
|
|
<bpmn:conditionExpression>supervisor_decision=="Approve"</bpmn:conditionExpression>
|
|
</bpmn:sequenceFlow>
|
|
<bpmn:parallelGateway id="Gateway_03ggtm7">
|
|
<bpmn:incoming>Flow_03ztcs9</bpmn:incoming>
|
|
<bpmn:incoming>Flow_08urxnj</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1ne1cgv</bpmn:outgoing>
|
|
</bpmn:parallelGateway>
|
|
<bpmn:sequenceFlow id="Flow_1ne1cgv" sourceRef="Gateway_03ggtm7" targetRef="Activity_15886fg" />
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Terminate_End_Event">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="-248" y="132" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="-242" y="175" width="25" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0gocul4_di" bpmnElement="Activity_1yzo3qi">
|
|
<dc:Bounds x="-160" y="110" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_0my21ty_di" bpmnElement="Gateway_1avmbmo">
|
|
<dc:Bounds x="-5" y="125" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_1ge8lqx_di" bpmnElement="Gateway_1ge8lqx" isMarkerVisible="true">
|
|
<dc:Bounds x="245" y="-45" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_0pps91p_di" bpmnElement="Gateway_0pps91p" isMarkerVisible="true">
|
|
<dc:Bounds x="245" y="285" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_042ru4w_di" bpmnElement="Event_042ru4w">
|
|
<dc:Bounds x="772" y="132" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="780" y="175" width="20" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_01qw6jz_di" bpmnElement="Event_1mc5o0o">
|
|
<dc:Bounds x="382" y="132" width="36" height="36" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="359" y="175" width="87" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0t3imn1_di" bpmnElement="User_Task_Supervisor">
|
|
<dc:Bounds x="80" y="-60" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1d8arwm_di" bpmnElement="User_Task_Manager">
|
|
<dc:Bounds x="80" y="270" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_12nrcz5_di" bpmnElement="Activity_1x1u44j">
|
|
<dc:Bounds x="220" y="110" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0d4srrj_di" bpmnElement="Activity_15886fg">
|
|
<dc:Bounds x="610" y="110" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_1q3vm75_di" bpmnElement="Gateway_03ggtm7">
|
|
<dc:Bounds x="495" y="125" width="50" height="50" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1nqox7o_di" bpmnElement="Flow_1nqox7o">
|
|
<di:waypoint x="-212" y="150" />
|
|
<di:waypoint x="-160" y="150" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1rtent4_di" bpmnElement="Flow_1rtent4">
|
|
<di:waypoint x="-60" y="150" />
|
|
<di:waypoint x="-5" y="150" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0nyz9v7_di" bpmnElement="Flow_0nyz9v7">
|
|
<di:waypoint x="20" y="125" />
|
|
<di:waypoint x="20" y="-20" />
|
|
<di:waypoint x="80" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1su8ukg_di" bpmnElement="Flow_1su8ukg">
|
|
<di:waypoint x="20" y="175" />
|
|
<di:waypoint x="20" y="310" />
|
|
<di:waypoint x="80" y="310" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0swxi79_di" bpmnElement="Flow_0swxi79">
|
|
<di:waypoint x="180" y="-20" />
|
|
<di:waypoint x="245" y="-20" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1lth0az_di" bpmnElement="Flow_1lth0az">
|
|
<di:waypoint x="180" y="310" />
|
|
<di:waypoint x="245" y="310" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1fc3fz4_di" bpmnElement="Flow_1fc3fz4">
|
|
<di:waypoint x="270" y="5" />
|
|
<di:waypoint x="270" y="110" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="269" y="55" width="33" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_07wir30_di" bpmnElement="Flow_07wir30">
|
|
<di:waypoint x="320" y="150" />
|
|
<di:waypoint x="382" y="150" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0p7arnp_di" bpmnElement="Flow_0p7arnp">
|
|
<di:waypoint x="270" y="285" />
|
|
<di:waypoint x="270" y="190" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="269" y="234" width="33" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_04borf4_di" bpmnElement="Flow_04borf4">
|
|
<di:waypoint x="710" y="150" />
|
|
<di:waypoint x="772" y="150" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_08urxnj_di" bpmnElement="Flow_08urxnj">
|
|
<di:waypoint x="295" y="310" />
|
|
<di:waypoint x="520" y="310" />
|
|
<di:waypoint x="520" y="180" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="388" y="292" width="40" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_03ztcs9_di" bpmnElement="Flow_03ztcs9">
|
|
<di:waypoint x="295" y="-20" />
|
|
<di:waypoint x="520" y="-20" />
|
|
<di:waypoint x="520" y="125" />
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="388" y="-38" width="40" height="14" />
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1ne1cgv_di" bpmnElement="Flow_1ne1cgv">
|
|
<di:waypoint x="545" y="150" />
|
|
<di:waypoint x="610" y="150" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|