59 lines
3.1 KiB
XML
59 lines
3.1 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: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:process id="Process_m78q7z1" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_18ce2ty</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_18ce2ty" sourceRef="StartEvent_1" targetRef="Activity_111a8cq" />
|
|
<bpmn:endEvent id="Event_0i41kk2">
|
|
<bpmn:incoming>Flow_0lxpbmk</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1j7y5ql" sourceRef="Activity_111a8cq" targetRef="Activity_0yxfuoo" />
|
|
<bpmn:sequenceFlow id="Flow_0lxpbmk" sourceRef="Activity_0yxfuoo" targetRef="Event_0i41kk2" />
|
|
<bpmn:callActivity id="Activity_111a8cq" name="Call Get Pay Rate" calledElement="Bamboo_GetEmployeePayRate">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:preScript>get_employee_id = 109</spiffworkflow:preScript>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_18ce2ty</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1j7y5ql</bpmn:outgoing>
|
|
</bpmn:callActivity>
|
|
<bpmn:scriptTask id="Activity_0yxfuoo" name="Check response">
|
|
<bpmn:incoming>Flow_1j7y5ql</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0lxpbmk</bpmn:outgoing>
|
|
<bpmn:script># check they keys, let it throw if they don't exist
|
|
bamboo_get_employee["payRate"]
|
|
bamboo_get_employee["amount"]
|
|
bamboo_get_employee["currency"]</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_m78q7z1">
|
|
<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_0i41kk2_di" bpmnElement="Event_0i41kk2">
|
|
<dc:Bounds x="522" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1uh2c7w_di" bpmnElement="Activity_111a8cq">
|
|
<dc:Bounds x="260" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_05dia8w_di" bpmnElement="Activity_0yxfuoo">
|
|
<dc:Bounds x="390" y="137" width="100" height="80" />
|
|
<bpmndi:BPMNLabel />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_18ce2ty_di" bpmnElement="Flow_18ce2ty">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="260" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1j7y5ql_di" bpmnElement="Flow_1j7y5ql">
|
|
<di:waypoint x="360" y="177" />
|
|
<di:waypoint x="390" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0lxpbmk_di" bpmnElement="Flow_0lxpbmk">
|
|
<di:waypoint x="490" y="177" />
|
|
<di:waypoint x="522" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|