mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
88 lines
5.1 KiB
Plaintext
88 lines
5.1 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: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="Unit_Test_Sub_Process_with_Service_Task" name="Unit Test Sub Process with Service Task" isExecutable="true">
|
||
|
<bpmn:startEvent id="StartEvent_1">
|
||
|
<bpmn:outgoing>Flow_0mvs3r4</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_0mvs3r4" sourceRef="StartEvent_1" targetRef="Activity_1aah17e" />
|
||
|
<bpmn:endEvent id="Event_15mc3d1">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:instructionsForEndUser>End Sub Process Service Task Unit Test. Bamboo User : {{bamboo_get_employee}}</spiffworkflow:instructionsForEndUser>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_16wbabb</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_16wbabb" sourceRef="Activity_1aah17e" targetRef="Event_15mc3d1" />
|
||
|
<bpmn:subProcess id="Activity_1aah17e" name="Sub Process Service Task">
|
||
|
<bpmn:incoming>Flow_0mvs3r4</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_16wbabb</bpmn:outgoing>
|
||
|
<bpmn:startEvent id="Event_1f56v38">
|
||
|
<bpmn:outgoing>Flow_1c50uqc</bpmn:outgoing>
|
||
|
</bpmn:startEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1c50uqc" sourceRef="Event_1f56v38" targetRef="Activity_0xxfrv3" />
|
||
|
<bpmn:endEvent id="Event_08r7kqi">
|
||
|
<bpmn:incoming>Flow_1usijg3</bpmn:incoming>
|
||
|
</bpmn:endEvent>
|
||
|
<bpmn:sequenceFlow id="Flow_1usijg3" sourceRef="Activity_0xxfrv3" targetRef="Event_08r7kqi" />
|
||
|
<bpmn:serviceTask id="Activity_0xxfrv3" name="Sub Process with Service Task">
|
||
|
<bpmn:extensionElements>
|
||
|
<spiffworkflow:serviceTaskOperator id="http/GetRequest" resultVariable="bamboo_get_employee">
|
||
|
<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="{"fields": "firstName,lastName"}" />
|
||
|
<spiffworkflow:parameter id="url" type="str" value="f"https://api.bamboohr.com/api/gateway.php/statusresearchdemo/v1/employees/113"" />
|
||
|
</spiffworkflow:parameters>
|
||
|
</spiffworkflow:serviceTaskOperator>
|
||
|
</bpmn:extensionElements>
|
||
|
<bpmn:incoming>Flow_1c50uqc</bpmn:incoming>
|
||
|
<bpmn:outgoing>Flow_1usijg3</bpmn:outgoing>
|
||
|
</bpmn:serviceTask>
|
||
|
</bpmn:subProcess>
|
||
|
</bpmn:process>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Sub_Process_with_Service_Task">
|
||
|
<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_15mc3d1_di" bpmnElement="Event_15mc3d1">
|
||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_14l5u13_di" bpmnElement="Activity_1aah17e">
|
||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_0mvs3r4_di" bpmnElement="Flow_0mvs3r4">
|
||
|
<di:waypoint x="215" y="177" />
|
||
|
<di:waypoint x="270" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_16wbabb_di" bpmnElement="Flow_16wbabb">
|
||
|
<di:waypoint x="370" y="177" />
|
||
|
<di:waypoint x="432" y="177" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_10gov52">
|
||
|
<bpmndi:BPMNPlane id="BPMNPlane_1q2fhnk" bpmnElement="Activity_1aah17e" label="[object Object]">
|
||
|
<bpmndi:BPMNShape id="Event_1f56v38_di" bpmnElement="Event_1f56v38">
|
||
|
<dc:Bounds x="182" y="162" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Event_08r7kqi_di" bpmnElement="Event_08r7kqi">
|
||
|
<dc:Bounds x="422" y="162" width="36" height="36" />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNShape id="Activity_1xs1lsf_di" bpmnElement="Activity_0xxfrv3">
|
||
|
<dc:Bounds x="270" y="140" width="100" height="80" />
|
||
|
<bpmndi:BPMNLabel />
|
||
|
</bpmndi:BPMNShape>
|
||
|
<bpmndi:BPMNEdge id="Flow_1c50uqc_di" bpmnElement="Flow_1c50uqc">
|
||
|
<di:waypoint x="218" y="180" />
|
||
|
<di:waypoint x="270" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
<bpmndi:BPMNEdge id="Flow_1usijg3_di" bpmnElement="Flow_1usijg3">
|
||
|
<di:waypoint x="370" y="180" />
|
||
|
<di:waypoint x="422" y="180" />
|
||
|
</bpmndi:BPMNEdge>
|
||
|
</bpmndi:BPMNPlane>
|
||
|
</bpmndi:BPMNDiagram>
|
||
|
</bpmn:definitions>
|