sample-process-models/requisition-orders/define-approval-strategy/call-activity-define-approv...

76 lines
4.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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" camunda:diagramRelationId="90585b47-c41e-4414-8a35-65e0247fd456">
<bpmn:process id="Process_0d7m86u" name="Define approval strategy" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Input for Approval strategy has been gathered">
<bpmn:outgoing>Flow_0zfse3j</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="Event_1aday4x" name="Notification via Waku has been sent">
<bpmn:incoming>Flow_05fdft2</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_1ux86r6" name="Get Team/Project_Lead Info">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="bamboohr/GetEmployeeInfo">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="employee_id" type="str" />
<spiffworkflow:parameter id="fields" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0zfse3j</bpmn:incoming>
<bpmn:outgoing>Flow_093kc2f</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:serviceTask id="Activity_0xs542x" name="Notify approver via Waku&#10;&#34;Approve Request manually&#34;">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage">
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" />
<spiffworkflow:parameter id="message_type" type="str" />
<spiffworkflow:parameter id="recipient" type="str" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
<bpmn:incoming>Flow_093kc2f</bpmn:incoming>
<bpmn:outgoing>Flow_05fdft2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_0zfse3j" sourceRef="StartEvent_1" targetRef="Activity_1ux86r6" />
<bpmn:sequenceFlow id="Flow_05fdft2" sourceRef="Activity_0xs542x" targetRef="Event_1aday4x" />
<bpmn:sequenceFlow id="Flow_093kc2f" sourceRef="Activity_1ux86r6" targetRef="Activity_0xs542x" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0d7m86u">
<bpmndi:BPMNShape id="BPMNShape_05qkwtt" bpmnElement="StartEvent_1">
<dc:Bounds x="212" y="192" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="186" y="235" width="88" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_017xpqh" bpmnElement="Event_1aday4x">
<dc:Bounds x="632" y="192" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="612" y="235" width="77" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0z3dqn6" bpmnElement="Activity_1ux86r6">
<dc:Bounds x="300" y="170" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1metrau" bpmnElement="Activity_0xs542x">
<dc:Bounds x="470" y="170" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_12k7k01" bpmnElement="Flow_0zfse3j">
<di:waypoint x="248" y="210" />
<di:waypoint x="300" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0xvlyh6" bpmnElement="Flow_05fdft2">
<di:waypoint x="570" y="210" />
<di:waypoint x="632" y="210" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_05b2lh6" bpmnElement="Flow_093kc2f">
<di:waypoint x="400" y="210" />
<di:waypoint x="470" y="210" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>