56 lines
3.0 KiB
XML
56 lines
3.0 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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
|
<bpmn:process id="Process_3ri6jdz" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_195bz8b</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_195bz8b" sourceRef="StartEvent_1" targetRef="Activity_0izupsh" />
|
|
<bpmn:endEvent id="Event_18o969x">
|
|
<bpmn:incoming>Flow_0uxjrrd</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_0m7bxqn" sourceRef="Activity_0izupsh" targetRef="Activity_0ac3lxi" />
|
|
<bpmn:callActivity id="Activity_0izupsh" name="Call Get All Depts and Divs" calledElement="Bamboo-AllDivisionsAndDepartments">
|
|
<bpmn:incoming>Flow_195bz8b</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0m7bxqn</bpmn:outgoing>
|
|
</bpmn:callActivity>
|
|
<bpmn:sequenceFlow id="Flow_0uxjrrd" sourceRef="Activity_0ac3lxi" targetRef="Event_18o969x" />
|
|
<bpmn:scriptTask id="Activity_0ac3lxi" name="Test that we have some depts and divs">
|
|
<bpmn:incoming>Flow_0m7bxqn</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0uxjrrd</bpmn:outgoing>
|
|
<bpmn:script># check we have at least one of each, let it throw an exception if not
|
|
departments[0]
|
|
divisions[0]</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_3ri6jdz">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_18o969x_di" bpmnElement="Event_18o969x">
|
|
<dc:Bounds x="552" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0mxtzi8_di" bpmnElement="Activity_0izupsh">
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1rko5bb_di" bpmnElement="Activity_0ac3lxi">
|
|
<dc:Bounds x="410" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_195bz8b_di" bpmnElement="Flow_195bz8b">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="270" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0m7bxqn_di" bpmnElement="Flow_0m7bxqn">
|
|
<di:waypoint x="370" y="177" />
|
|
<di:waypoint x="410" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0uxjrrd_di" bpmnElement="Flow_0uxjrrd">
|
|
<di:waypoint x="510" y="177" />
|
|
<di:waypoint x="552" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|