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-10-31 18:52:47 +00:00
parent 46ac746e91
commit 6e82113f3d
1 changed files with 11 additions and 27 deletions

View File

@ -467,30 +467,7 @@ annual_salary = float(annual_salary_str)</bpmn:script>
<spiffworkflow:preScript># Set who for find
find_user = userKeycloak
isCurrentUser = False</spiffworkflow:preScript>
<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(userStatusKey)</spiffworkflow:postScript>
<spiffworkflow:postScript />
</bpmn:extensionElements>
<bpmn:incoming>Flow_0bv17h4</bpmn:incoming>
<bpmn:outgoing>Flow_09jcr0u</bpmn:outgoing>
@ -514,10 +491,12 @@ del(userStatusKey)</spiffworkflow:postScript>
task_id = "waku_notify_project_lead"
isSetMessage = True</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_09jcr0u</bpmn:incoming>
<bpmn:incoming>Flow_0c20bae</bpmn:incoming>
<bpmn:outgoing>Flow_0re50gq</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:scriptTask id="Activity_1jtcvfx" name="Temp Post Script" scriptFormat="python">
<bpmn:incoming>Flow_09jcr0u</bpmn:incoming>
<bpmn:outgoing>Flow_0c20bae</bpmn:outgoing>
<bpmn:script># Set Project Lead Info
project_lead_info = {}
project_lead_info["full_name"] = userFullName
@ -562,7 +541,8 @@ isCurrentUser = False</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_09jcr0u" sourceRef="Activity_00b66gy" targetRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" />
<bpmn:sequenceFlow id="Flow_09jcr0u" sourceRef="Activity_00b66gy" targetRef="Activity_1jtcvfx" />
<bpmn:sequenceFlow id="Flow_0c20bae" sourceRef="Activity_1jtcvfx" targetRef="Call_Waku_Messages_Message-Notify_Proejct_Lead" />
</bpmn:subProcess>
<bpmn:scriptTask id="Activity_0faln91" name="Set Message" scriptFormat="python">
<bpmn:incoming>Flow_1qf14hx</bpmn:incoming>
@ -1499,7 +1479,7 @@ addNew = False</spiffworkflow:preScript>
<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="500" width="100" height="80" />
<dc:Bounds x="330" y="380" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0re50gq_di" bpmnElement="Flow_0re50gq">
@ -1524,6 +1504,10 @@ addNew = False</spiffworkflow:preScript>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_09jcr0u_di" bpmnElement="Flow_09jcr0u">
<di:waypoint x="260" y="420" />
<di:waypoint x="330" y="420" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0c20bae_di" bpmnElement="Flow_0c20bae">
<di:waypoint x="430" y="420" />
<di:waypoint x="510" y="420" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>