mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 06:05:13 +00:00
76 lines
3.9 KiB
XML
76 lines
3.9 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="Approval_Strategy" name="Approval Strategy" isExecutable="true">
|
|
<bpmn:startEvent id="StartEvent_1">
|
|
<bpmn:outgoing>Flow_1vzcqpq</bpmn:outgoing>
|
|
</bpmn:startEvent>
|
|
<bpmn:sequenceFlow id="Flow_1vzcqpq" sourceRef="StartEvent_1" targetRef="Activity_0ybhzvp" />
|
|
<bpmn:businessRuleTask id="Activity_0ybhzvp" name="Get Project Lead">
|
|
<bpmn:extensionElements>
|
|
<spiffworkflow:calledDecisionId>Projects_Leads</spiffworkflow:calledDecisionId>
|
|
</bpmn:extensionElements>
|
|
<bpmn:incoming>Flow_1vzcqpq</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_063bdf1</bpmn:outgoing>
|
|
</bpmn:businessRuleTask>
|
|
<bpmn:endEvent id="Event_1ft1iyi">
|
|
<bpmn:incoming>Flow_08uxy7b</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_063bdf1" sourceRef="Activity_0ybhzvp" targetRef="Activity_0i43gxr" />
|
|
<bpmn:sequenceFlow id="Flow_0i5dhvz" sourceRef="Activity_0i43gxr" targetRef="Activity_1uxsytz" />
|
|
<bpmn:scriptTask id="Activity_0i43gxr" name="Temp SME">
|
|
<bpmn:incoming>Flow_063bdf1</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_0i5dhvz</bpmn:outgoing>
|
|
<bpmn:script>is_sme_review = False</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
<bpmn:sequenceFlow id="Flow_08uxy7b" sourceRef="Activity_1uxsytz" targetRef="Event_1ft1iyi" />
|
|
<bpmn:scriptTask id="Activity_1uxsytz" name="Set Lanes">
|
|
<bpmn:incoming>Flow_0i5dhvz</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_08uxy7b</bpmn:outgoing>
|
|
<bpmn:script># Set Budget Owner Lane
|
|
lane_owners = {
|
|
"Budget Owner": [project_lead_email],
|
|
"PPG BA": ["lead1@status.im"],
|
|
"PeopleOps": ["fin@status.im"],
|
|
"Security": ["fin1@status.im"],
|
|
"Infra": ["Harmeet@status.im"],
|
|
"Legal": ["Manuchehr@status.im"]
|
|
}</bpmn:script>
|
|
</bpmn:scriptTask>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Approval_Strategy">
|
|
<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_1fxg3ol_di" bpmnElement="Activity_0ybhzvp">
|
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Event_1ft1iyi_di" bpmnElement="Event_1ft1iyi">
|
|
<dc:Bounds x="792" y="159" width="36" height="36" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0e0laf8_di" bpmnElement="Activity_0i43gxr">
|
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Activity_0scbcjx_di" bpmnElement="Activity_1uxsytz">
|
|
<dc:Bounds x="600" y="137" width="100" height="80" />
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1vzcqpq_di" bpmnElement="Flow_1vzcqpq">
|
|
<di:waypoint x="215" y="177" />
|
|
<di:waypoint x="270" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_063bdf1_di" bpmnElement="Flow_063bdf1">
|
|
<di:waypoint x="370" y="177" />
|
|
<di:waypoint x="430" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_0i5dhvz_di" bpmnElement="Flow_0i5dhvz">
|
|
<di:waypoint x="530" y="177" />
|
|
<di:waypoint x="600" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_08uxy7b_di" bpmnElement="Flow_08uxy7b">
|
|
<di:waypoint x="700" y="177" />
|
|
<di:waypoint x="792" y="177" />
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|