Jon Herron 0892db6fa7 Squashed 'SpiffWorkflow/' content from commit 63db3e4
git-subtree-dir: SpiffWorkflow
git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
2022-10-12 10:19:53 -04:00

69 lines
3.8 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:modeler="http://camunda.org/schema/modeler/1.0" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_1rkzagd" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.3.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.0.0">
<bpmn:process id="service_task_example1" name="ServiceTask" isExecutable="true">
<bpmn:startEvent id="StartEvent_1">
<bpmn:outgoing>Flow_0l9vzsi</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_0l9vzsi" sourceRef="StartEvent_1" targetRef="Activity-1inxqgx" />
<bpmn:serviceTask id="Activity-1inxqgx" name="ServiceTask1">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="bamboohr/GetPayRate">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="api_key" type="string" value="'secret:BAMBOOHR_API_KEY'" />
<spiffworkflow:parameter id="employee_id" type="string" value="4" />
<spiffworkflow:parameter id="subdomain" type="string" value="'ServiceTask'" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0l9vzsi</bpmn:incoming>
<bpmn:outgoing>Flow_16rdnn7</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:endEvent id="Event_0j8psiq">
<bpmn:incoming>Flow_1fpsye7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_16rdnn7" sourceRef="Activity-1inxqgx" targetRef="Activity_12erefa" />
<bpmn:sequenceFlow id="Flow_1fpsye7" sourceRef="Activity_12erefa" targetRef="Event_0j8psiq" />
<bpmn:serviceTask id="Activity_12erefa" name="ServiceTask2">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="weather/CurrentTemp" resultVariable="waynesboroWeatherResult">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="zipcode" type="int" value="22980" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_16rdnn7</bpmn:incoming>
<bpmn:outgoing>Flow_1fpsye7</bpmn:outgoing>
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="service_task_example1">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0wwg8c1_di" bpmnElement="Activity-1inxqgx">
<dc:Bounds x="330" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0j8psiq_di" bpmnElement="Event_0j8psiq">
<dc:Bounds x="582" y="99" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0ognsfj_di" bpmnElement="Activity_12erefa">
<dc:Bounds x="450" y="77" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0l9vzsi_di" bpmnElement="Flow_0l9vzsi">
<di:waypoint x="215" y="117" />
<di:waypoint x="330" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_16rdnn7_di" bpmnElement="Flow_16rdnn7">
<di:waypoint x="430" y="117" />
<di:waypoint x="450" y="117" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1fpsye7_di" bpmnElement="Flow_1fpsye7">
<di:waypoint x="550" y="117" />
<di:waypoint x="582" y="117" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>