mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-22 20:58:17 +00:00
User: alex clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn
This commit is contained in:
parent
68f80eb19b
commit
6a41d82b1a
@ -526,30 +526,32 @@ del(userStatusKey)</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0t3n7bd" sourceRef="Activity_1jtcvfx" targetRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" />
|
||||
<bpmn:sequenceFlow id="Flow_0re50gq" sourceRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" targetRef="Activity_1ve0iqu" />
|
||||
<bpmn:sequenceFlow id="Flow_0xxlbay" sourceRef="Activity_1982sk7" targetRef="Activity_1cqx4zy" />
|
||||
<bpmn:sequenceFlow id="Flow_0y37dgj" sourceRef="Activity_1ve0iqu" targetRef="Event_1nkaxn4" />
|
||||
<bpmn:scriptTask id="Activity_1982sk7" name="Get Project Lead" scriptFormat="python">
|
||||
<bpmn:incoming>Flow_0dvboik</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0xxlbay</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_07ky9a7</bpmn:outgoing>
|
||||
<bpmn:script>userBambooId_str = resp_BambooUserInfo["supervisorEid"]</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0dvboik" sourceRef="Event_00px1yx" targetRef="Activity_1982sk7" />
|
||||
<bpmn:sequenceFlow id="Flow_1trnj6d" sourceRef="Activity_1cqx4zy" targetRef="Activity_1nyfxna" />
|
||||
<bpmn:businessRuleTask id="Activity_1cqx4zy" name="Get Keycloak Username">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>user_info</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0xxlbay</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1trnj6d</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:sequenceFlow id="Flow_03mru8z" sourceRef="Activity_1nyfxna" targetRef="Activity_00b66gy" />
|
||||
<bpmn:scriptTask id="Activity_1nyfxna" name="Temp Pre Script" scriptFormat="python">
|
||||
<bpmn:incoming>Flow_1trnj6d</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0uai0a9</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_03mru8z</bpmn:outgoing>
|
||||
<bpmn:script>find_user = current_user_extras["project_lead_username"]
|
||||
# find_user = userKeycloak
|
||||
isCurrentUser = False</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:callActivity id="Activity_1r3o0bm" name="Get Keycloak Username" calledElement="Bamboo_Conversion">
|
||||
<bpmn:incoming>Flow_07ky9a7</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0uai0a9</bpmn:outgoing>
|
||||
</bpmn:callActivity>
|
||||
<bpmn:sequenceFlow id="Flow_07ky9a7" sourceRef="Activity_1982sk7" targetRef="Activity_1r3o0bm" />
|
||||
<bpmn:sequenceFlow id="Flow_0uai0a9" sourceRef="Activity_1r3o0bm" targetRef="Activity_1nyfxna" />
|
||||
</bpmn:subProcess>
|
||||
<bpmn:scriptTask id="Activity_0faln91" name="Temp Message Storage" scriptFormat="python">
|
||||
<bpmn:incoming>Flow_1qf14hx</bpmn:incoming>
|
||||
@ -777,7 +779,7 @@ isApprovalTimer = True</bpmn:script>
|
||||
<bpmn:boundaryEvent id="Event_09q0ym0" name="3 days" attachedToRef="Activity_06b32ar">
|
||||
<bpmn:outgoing>Flow_1v8dszb</bpmn:outgoing>
|
||||
<bpmn:timerEventDefinition id="TimerEventDefinition_0cpj4z0">
|
||||
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=1)</bpmn:timeDuration>
|
||||
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=3)</bpmn:timeDuration>
|
||||
</bpmn:timerEventDefinition>
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:exclusiveGateway id="Gateway_06i3we9">
|
||||
@ -1427,13 +1429,16 @@ addNew = False</spiffworkflow:preScript>
|
||||
<bpmndi:BPMNShape id="Activity_0iy0fil_di" bpmnElement="Activity_1982sk7">
|
||||
<dc:Bounds x="-290" y="380" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_081nj6r_di" bpmnElement="Activity_1cqx4zy">
|
||||
<dc:Bounds x="-110" y="380" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0plejcc_di" bpmnElement="Activity_1nyfxna">
|
||||
<dc:Bounds x="30" y="380" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_081nj6r_di" bpmnElement="Activity_1cqx4zy">
|
||||
<dc:Bounds x="-140" y="250" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1lm44ee_di" bpmnElement="Activity_1r3o0bm">
|
||||
<dc:Bounds x="-130" y="380" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_1am9jcz_di" bpmnElement="Flow_1am9jcz">
|
||||
<di:waypoint x="295" y="240" />
|
||||
<di:waypoint x="360" y="240" />
|
||||
@ -1464,10 +1469,6 @@ addNew = False</spiffworkflow:preScript>
|
||||
<di:waypoint x="570" y="420" />
|
||||
<di:waypoint x="630" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0xxlbay_di" bpmnElement="Flow_0xxlbay">
|
||||
<di:waypoint x="-190" y="420" />
|
||||
<di:waypoint x="-110" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0y37dgj_di" bpmnElement="Flow_0y37dgj">
|
||||
<di:waypoint x="730" y="420" />
|
||||
<di:waypoint x="782" y="420" />
|
||||
@ -1476,14 +1477,18 @@ addNew = False</spiffworkflow:preScript>
|
||||
<di:waypoint x="-372" y="420" />
|
||||
<di:waypoint x="-290" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1trnj6d_di" bpmnElement="Flow_1trnj6d">
|
||||
<di:waypoint x="-10" y="420" />
|
||||
<di:waypoint x="30" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_03mru8z_di" bpmnElement="Flow_03mru8z">
|
||||
<di:waypoint x="130" y="420" />
|
||||
<di:waypoint x="160" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_07ky9a7_di" bpmnElement="Flow_07ky9a7">
|
||||
<di:waypoint x="-190" y="420" />
|
||||
<di:waypoint x="-130" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0uai0a9_di" bpmnElement="Flow_0uai0a9">
|
||||
<di:waypoint x="-30" y="420" />
|
||||
<di:waypoint x="30" y="420" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_0e5tdrz">
|
||||
|
41
shared/user-info/bamboo-conversion.bpmn
Normal file
41
shared/user-info/bamboo-conversion.bpmn
Normal file
@ -0,0 +1,41 @@
|
||||
<?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="Bamboo_Conversion" name="Bamboo Conversion" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0ki5hm6</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0ki5hm6" sourceRef="StartEvent_1" targetRef="Activity_0du61lk" />
|
||||
<bpmn:businessRuleTask id="Activity_0du61lk" name="Get Bamboo Conversion">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>Bamboo_Conversion</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0ki5hm6</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0l4hu7t</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:endEvent id="Event_0gb4wn5">
|
||||
<bpmn:incoming>Flow_0l4hu7t</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0l4hu7t" sourceRef="Activity_0du61lk" targetRef="Event_0gb4wn5" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Bamboo_Conversion">
|
||||
<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_0pinm8a_di" bpmnElement="Activity_0du61lk">
|
||||
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0gb4wn5_di" bpmnElement="Event_0gb4wn5">
|
||||
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0ki5hm6_di" bpmnElement="Flow_0ki5hm6">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="270" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0l4hu7t_di" bpmnElement="Flow_0l4hu7t">
|
||||
<di:waypoint x="370" y="177" />
|
||||
<di:waypoint x="432" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
Loading…
x
Reference in New Issue
Block a user