73 lines
4.5 KiB
XML
73 lines
4.5 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_378k10q" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_1uyqyun</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_1uyqyun" sourceRef="StartEvent_1" targetRef="Activity_1h1nk9q" />
|
|
<bpmn:endEvent id="Event_0vttzam">
|
|
<bpmn:incoming>Flow_06dhfyg</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1vpthvx" sourceRef="Activity_1h1nk9q" targetRef="Activity_0uxg2py" />
|
|
<bpmn:serviceTask id="Activity_1h1nk9q">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:serviceTaskOperator id="http/GetRequest">
|
|
<spiffworkflow:parameters>
|
|
<spiffworkflow:parameter id="basic_auth_password" type="str" value=""x"" />
|
|
<spiffworkflow:parameter id="basic_auth_username" type="str" value=""secret:BAMBOOHR_API_KEY"" />
|
|
<spiffworkflow:parameter id="headers" type="any" value="{"Accept": "application/json"}" />
|
|
<spiffworkflow:parameter id="params" type="any" value="{}" />
|
|
<spiffworkflow:parameter id="url" type="str" value=""https://api.bamboohr.com/api/gateway.php/statusresearchdemo/v1/employees/directory"" />
|
|
</spiffworkflow:parameters>
|
|
</spiffworkflow:serviceTaskOperator>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1uyqyun</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_1vpthvx</bpmn:outgoing>
|
|
</bpmn:serviceTask>
|
|
<bpmn:sequenceFlow id="Flow_06dhfyg" sourceRef="Activity_0uxg2py" targetRef="Event_0vttzam" />
|
|
<bpmn:serviceTask id="Activity_0uxg2py">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:serviceTaskOperator id="http/PostRequest">
|
|
<spiffworkflow:parameters>
|
|
<spiffworkflow:parameter id="basic_auth_password" type="str" value=""x"" />
|
|
<spiffworkflow:parameter id="basic_auth_username" type="str" value=""secret:BAMBOOHR_API_KEY"" />
|
|
<spiffworkflow:parameter id="data" type="any" value="{"fields": ["department", "division", "supervisorEid"], "title": "Custom Report" }" />
|
|
<spiffworkflow:parameter id="headers" type="any" value="{"Accept": "application/json"}" />
|
|
<spiffworkflow:parameter id="url" type="str" value=""https://api.bamboohr.com/api/gateway.php/statusresearchdemo/v1/reports/custom?format=JSON&onlyCurrent=true"" />
|
|
</spiffworkflow:parameters>
|
|
</spiffworkflow:serviceTaskOperator>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1vpthvx</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_06dhfyg</bpmn:outgoing>
|
|
</bpmn:serviceTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_378k10q">
|
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0paebs7_di" bpmnElement="Activity_1h1nk9q">
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_0vttzam_di" bpmnElement="Event_0vttzam">
|
|
<dc:Bounds x="652" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_1o0jypg_di" bpmnElement="Activity_0uxg2py">
|
|
<dc:Bounds x="450" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1uyqyun_di" bpmnElement="Flow_1uyqyun">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="270" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_1vpthvx_di" bpmnElement="Flow_1vpthvx">
|
|
<di:waypoint x="370" y="177" />
|
|
<di:waypoint x="450" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_06dhfyg_di" bpmnElement="Flow_06dhfyg">
|
|
<di:waypoint x="550" y="177" />
|
|
<di:waypoint x="652" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|