User: alex clicked save for execute-procure-to-pay/cc-invoice-approval-process/cc-invoice-approval-process-v2.bpmn

This commit is contained in:
demo 2022-11-17 20:03:36 +00:00
parent 62ce94e821
commit e68a4e32b9
1 changed files with 35 additions and 16 deletions

View File

@ -610,10 +610,36 @@ date_format = current_user_extras["date_format"]</bpmn:script>
<spiffworkflow:preScript># Set who for find
find_user = userKeycloak
isCurrentUser = False</spiffworkflow:preScript>
<spiffworkflow:postScript />
<spiffworkflow:postScript># Set Project Lead Info
project_lead_info = {}
project_lead_info["full_name"] = userFullName
project_lead_info["first_name"] = userFirstName
project_lead_info["email"] = userEmail
project_lead_info["time_zone"] = userTimeZone
project_lead_info["time_format"] = userTimeFormat
project_lead_info["date_format"] = userDateFormat
project_lead_info["status_key"] = userStatusKey
# Move to pre-script of Waku Message
# Set Time Zone
time_zone = project_lead_info["time_zone"]
# Set Time Format
time_format = project_lead_info["time_format"]
# Set Date Format
time_format = project_lead_info["date_format"]
del(userFullName)
del(userFirstName)
del(userEmail)
del(userTimeZone)
del(userTimeFormat)
del(userDateFormat)
del(userStatusKey)</spiffworkflow:postScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0bv17h4</bpmn:incoming>
<bpmn:outgoing>Flow_18vy7ev</bpmn:outgoing>
<bpmn:outgoing>Flow_0c51sun</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:serviceTask id="Activity_1ve0iqu" name="Waku Message: Notify Proejct Lead">
<bpmn:extensionElements>
@ -634,12 +660,10 @@ isCurrentUser = False</spiffworkflow:preScript>
task_id = "waku_notify_project_lead"
isSetMessage = True</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_10jrb4j</bpmn:incoming>
<bpmn:incoming>Flow_0c51sun</bpmn:incoming>
<bpmn:outgoing>Flow_0re50gq</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:scriptTask id="Activity_1jtcvfx" name="Temp Post Script" scriptFormat="python">
<bpmn:incoming>Flow_18vy7ev</bpmn:incoming>
<bpmn:outgoing>Flow_10jrb4j</bpmn:outgoing>
<bpmn:script># Set Project Lead Info
project_lead_info = {}
project_lead_info["full_name"] = userFullName
@ -682,8 +706,7 @@ del(userStatusKey)</bpmn:script>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_01ki4jt" sourceRef="Activity_1982sk7" targetRef="Activity_1r3o0bm" />
<bpmn:sequenceFlow id="Flow_0bv17h4" sourceRef="Activity_1r3o0bm" targetRef="Activity_00b66gy" />
<bpmn:sequenceFlow id="Flow_18vy7ev" sourceRef="Activity_00b66gy" targetRef="Activity_1jtcvfx" />
<bpmn:sequenceFlow id="Flow_10jrb4j" sourceRef="Activity_1jtcvfx" targetRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" />
<bpmn:sequenceFlow id="Flow_0c51sun" sourceRef="Activity_00b66gy" targetRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" />
</bpmn:subProcess>
<bpmn:subProcess id="Activity_1kgaqpf" name="Waku Message: Notify Finance">
<bpmn:incoming>Flow_18xvx8w</bpmn:incoming>
@ -1740,16 +1763,16 @@ else:
<bpmndi:BPMNShape id="Activity_0mxxp3b_di" bpmnElement="Call_Waku_Messages_Message-Notify_Proejct_Lead">
<dc:Bounds x="510" y="380" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_02v8rpk_di" bpmnElement="Activity_1jtcvfx">
<dc:Bounds x="340" y="380" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0iy0fil_di" bpmnElement="Activity_1982sk7">
<dc:Bounds x="-170" y="380" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1lm44ee_di" bpmnElement="Activity_1r3o0bm">
<dc:Bounds x="0" y="380" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_02v8rpk_di" bpmnElement="Activity_1jtcvfx">
<dc:Bounds x="340" y="560" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0re50gq_di" bpmnElement="Flow_0re50gq">
<di:waypoint x="610" y="420" />
<di:waypoint x="680" y="420" />
@ -1770,12 +1793,8 @@ else:
<di:waypoint x="100" y="420" />
<di:waypoint x="170" y="420" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18vy7ev_di" bpmnElement="Flow_18vy7ev">
<bpmndi:BPMNEdge id="Flow_0c51sun_di" bpmnElement="Flow_0c51sun">
<di:waypoint x="270" y="420" />
<di:waypoint x="340" y="420" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10jrb4j_di" bpmnElement="Flow_10jrb4j">
<di:waypoint x="440" y="420" />
<di:waypoint x="510" y="420" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>