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 20:18:35 +00:00
parent 2972a478b8
commit 42c66cc257
1 changed files with 57 additions and 18 deletions

View File

@ -764,7 +764,7 @@ time_zone = "Asia/Dubai"
date_format = "YMD"
time_format = "24"</spiffworkflow:preScript>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1gfeknb</bpmn:incoming>
<bpmn:incoming>Flow_0u8sn4c</bpmn:incoming>
<bpmn:outgoing>Flow_0n3djvs</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="Event_0czwuqb">
@ -776,7 +776,7 @@ time_format = "24"</spiffworkflow:preScript>
<spiffworkflow:parameters>
<spiffworkflow:parameter id="message" type="str" value="waku_message" />
<spiffworkflow:parameter id="message_type" type="str" value="&#34;wakuext_sendOneToOneMessage&#34;" />
<spiffworkflow:parameter id="recipient" type="str" value="&#34;0x04622cf750e9f79e60546258bebd4be274f75720b16862bb0c496aaeab746b6fbe897f956b2b08152bc3def5297bed95986a5211ae1a34491d35f51f69713cbf9d&#34;" />
<spiffworkflow:parameter id="recipient" type="str" value="finance_info[&#34;status_key&#34;] = userStatusKey" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
</bpmn:extensionElements>
@ -810,7 +810,39 @@ isCurrentUser = False</spiffworkflow:preScript>
<bpmn:incoming>Flow_1ale8a2</bpmn:incoming>
<bpmn:outgoing>Flow_1gfeknb</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:sequenceFlow id="Flow_1gfeknb" sourceRef="Activity_1i7fkx2" targetRef="Activity_1wqf9dm" />
<bpmn:sequenceFlow id="Flow_1gfeknb" sourceRef="Activity_1i7fkx2" targetRef="Activity_1ayopxr" />
<bpmn:sequenceFlow id="Flow_0u8sn4c" sourceRef="Activity_1ayopxr" targetRef="Activity_1wqf9dm" />
<bpmn:scriptTask id="Activity_1ayopxr" name="Set Finance User Info" scriptFormat="python">
<bpmn:incoming>Flow_1gfeknb</bpmn:incoming>
<bpmn:outgoing>Flow_0u8sn4c</bpmn:outgoing>
<bpmn:script># Set Project Lead Info
finance_info = {}
finance_info["full_name"] = userFullName
finance_info["first_name"] = userFirstName
finance_info["email"] = userEmail
finance_info["time_zone"] = userTimeZone
finance_info["time_format"] = userTimeFormat
finance_info["date_format"] = userDateFormat
finance_info["status_key"] = userStatusKey
# Move to pre-script of Waku Message
# Set Time Zone
time_zone = finance_info["time_zone"]
# Set Time Format
time_format = finance_info["time_format"]
# Set Date Format
time_format = finance_info["date_format"]
del(userFullName)
del(userFirstName)
del(userEmail)
del(userTimeZone)
del(userTimeFormat)
del(userDateFormat)
del(userStatusKey)</bpmn:script>
</bpmn:scriptTask>
</bpmn:subProcess>
<bpmn:scriptTask id="Activity_1t8wi0r" name="Waku Message: No Project Lead Response" scriptFormat="python">
<bpmn:incoming>Flow_1v8dszb</bpmn:incoming>
@ -1683,35 +1715,38 @@ addNew = False</spiffworkflow:preScript>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_1vlf9fh">
<bpmndi:BPMNPlane id="BPMNPlane_0pej8du" bpmnElement="Activity_1kgaqpf">
<bpmndi:BPMNShape id="BPMNShape_1kkvray" bpmnElement="Event_0czwuqb">
<dc:Bounds x="882" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1r0xe85" bpmnElement="Event_0k7eiau">
<dc:Bounds x="122" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0x5xk93" bpmnElement="Activity_0ez288q">
<dc:Bounds x="720" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0brjin6" bpmnElement="Activity_1wqf9dm">
<dc:Bounds x="550" y="200" width="100" height="80" />
<bpmndi:BPMNShape id="BPMNShape_13jsep6" bpmnElement="Activity_01g159b">
<dc:Bounds x="210" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1hvadbq" bpmnElement="Activity_1i7fkx2">
<dc:Bounds x="380" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_13jsep6" bpmnElement="Activity_01g159b">
<dc:Bounds x="210" y="200" width="100" height="80" />
<bpmndi:BPMNShape id="BPMNShape_0brjin6" bpmnElement="Activity_1wqf9dm">
<dc:Bounds x="730" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1kkvray" bpmnElement="Event_0czwuqb">
<dc:Bounds x="1062" y="222" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0x5xk93" bpmnElement="Activity_0ez288q">
<dc:Bounds x="900" y="200" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0p49tz0_di" bpmnElement="Activity_1ayopxr">
<dc:Bounds x="550" y="200" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_1d397qp" bpmnElement="Flow_0n3djvs">
<di:waypoint x="650" y="240" />
<di:waypoint x="720" y="240" />
<di:waypoint x="830" y="240" />
<di:waypoint x="900" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0u6zjo7" bpmnElement="Flow_0lr2fpj">
<di:waypoint x="820" y="240" />
<di:waypoint x="882" y="240" />
<di:waypoint x="1000" y="240" />
<di:waypoint x="1062" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_11zkgke_di" bpmnElement="Flow_11zkgke">
<di:waypoint x="158" y="240" />
@ -1725,6 +1760,10 @@ addNew = False</spiffworkflow:preScript>
<di:waypoint x="480" y="240" />
<di:waypoint x="550" y="240" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0u8sn4c_di" bpmnElement="Flow_0u8sn4c">
<di:waypoint x="650" y="240" />
<di:waypoint x="730" y="240" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>