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-24 02:36:20 +00:00
parent bb04ef2c0b
commit 206bc4b48a
1 changed files with 15 additions and 92 deletions

View File

@ -66,8 +66,8 @@
<bpmn:lane id="Lane_1b7abal" name="Team Lead">
<bpmn:flowNodeRef>Event_0f3d2bp</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_06b32ar</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_09q0ym0</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Activity_1t8wi0r</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Event_09q0ym0</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:sequenceFlow id="Flow_1x4rtop" name="Yes" sourceRef="Gateway_validation_successful_question_mark" targetRef="Activity_109lq0m" />
@ -625,12 +625,6 @@ invoice.invoiceStatus = "Approved and Pending Payment"</bpmn:script>
<bpmn:outgoing>Flow_02v6lr2</bpmn:outgoing>
<bpmn:script>invoice.commentsFinance = approvalComment</bpmn:script>
</bpmn:scriptTask>
<bpmn:boundaryEvent id="Event_09q0ym0" name="3 days" cancelActivity="false" attachedToRef="Activity_06b32ar">
<bpmn:outgoing>Flow_1v8dszb</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0y2jolb">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">timedelta(minutes=3)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
<bpmn:intermediateThrowEvent id="Event_15y55nw" name="Invoice is submitted">
<bpmn:documentation>Process milestone should update the process metadata field “milestone reached”</bpmn:documentation>
<bpmn:incoming>Flow_04fl87d</bpmn:incoming>
@ -784,50 +778,18 @@ isSetMessage = True</bpmn:script>
<bpmn:sequenceFlow id="Flow_0n3djvs" sourceRef="Activity_1wqf9dm" targetRef="Activity_0ez288q" />
<bpmn:sequenceFlow id="Flow_0lr2fpj" sourceRef="Activity_0ez288q" targetRef="Event_0czwuqb" />
</bpmn:subProcess>
<bpmn:subProcess id="Activity_1t8wi0r" name="Waku Message: No Project Lead Response">
<bpmn:scriptTask id="Activity_1t8wi0r" name="Waku Message: No Project Lead Response">
<bpmn:incoming>Flow_1v8dszb</bpmn:incoming>
<bpmn:outgoing>Flow_1wturr2</bpmn:outgoing>
<bpmn:startEvent id="Event_1d1g2t6">
<bpmn:outgoing>Flow_1a3nz0q</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:callActivity id="Activity_1tnzb4e" name="Get Waku Messages: Message" calledElement="Waku_Messages_Message">
<bpmn:incoming>Flow_14d1zey</bpmn:incoming>
<bpmn:outgoing>Flow_1u7h5vu</bpmn:outgoing>
</bpmn:callActivity>
<bpmn:endEvent id="Event_1bwp33i">
<bpmn:incoming>Flow_1gx63tj</bpmn:incoming>
</bpmn:endEvent>
<bpmn:serviceTask id="Activity_00wqw7u" name="6. Waku Message: No Project Lead Response">
<bpmn:extensionElements>
<spiffworkflow:serviceTaskOperator id="waku/SendMessage" resultVariable="waku_response">
<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="current_user_extras[&#34;status_key&#34;]" />
</spiffworkflow:parameters>
</spiffworkflow:serviceTaskOperator>
<spiffworkflow:preScript />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1u7h5vu</bpmn:incoming>
<bpmn:outgoing>Flow_1gx63tj</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:scriptTask id="Activity_1wuxaq1" name="Set Which Message" scriptFormat="python">
<bpmn:incoming>Flow_1a3nz0q</bpmn:incoming>
<bpmn:outgoing>Flow_14d1zey</bpmn:outgoing>
<bpmn:script># Set Task Id
task_id = "waku_no_team_lead_response"
# Set Message in Call Activity
isSetMessage = True
# Set reason invoice was rejected
invoice["commentProjectLead"] = "Project Lead did not respond to request in allotted time"</bpmn:script>
</bpmn:scriptTask>
<bpmn:sequenceFlow id="Flow_1a3nz0q" sourceRef="Event_1d1g2t6" targetRef="Activity_1wuxaq1" />
<bpmn:sequenceFlow id="Flow_14d1zey" sourceRef="Activity_1wuxaq1" targetRef="Activity_1tnzb4e" />
<bpmn:sequenceFlow id="Flow_1u7h5vu" sourceRef="Activity_1tnzb4e" targetRef="Activity_00wqw7u" />
<bpmn:sequenceFlow id="Flow_1gx63tj" sourceRef="Activity_00wqw7u" targetRef="Event_1bwp33i" />
</bpmn:subProcess>
<bpmn:script># Set Timer Check
isApprovalTimer = True</bpmn:script>
</bpmn:scriptTask>
<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=3)</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:boundaryEvent>
</bpmn:process>
<bpmn:process id="Process_cc_invoice_approval_process_v2_c" isExecutable="false" />
<bpmn:process id="Process_cc_invoice_approval_process_v2_d" isExecutable="false" />
@ -873,6 +835,9 @@ invoice["commentProjectLead"] = "Project Lead did not respond to request in allo
<dc:Bounds x="1340" y="557" width="60" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1pu369y_di" bpmnElement="Activity_1t8wi0r">
<dc:Bounds x="3160" y="898" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0z13hw3_di" bpmnElement="SubProcess_Data_validation_rules">
<dc:Bounds x="1170" y="482" width="100" height="80" />
<bpmndi:BPMNLabel />
@ -1028,11 +993,7 @@ invoice["commentProjectLead"] = "Project Lead did not respond to request in allo
<bpmndi:BPMNShape id="Activity_1tb6ao6_di" bpmnElement="Activity_1kgaqpf">
<dc:Bounds x="3450" y="560" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_106hwnu_di" bpmnElement="Activity_1t8wi0r">
<dc:Bounds x="3160" y="898" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1n1umf8_di" bpmnElement="Event_09q0ym0">
<bpmndi:BPMNShape id="Event_08bsj2m_di" bpmnElement="Event_09q0ym0">
<dc:Bounds x="3052" y="882" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="3023" y="913" width="33" height="14" />
@ -1699,42 +1660,4 @@ invoice["commentProjectLead"] = "Project Lead did not respond to request in allo
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
<bpmndi:BPMNDiagram id="BPMNDiagram_1tp2kri">
<bpmndi:BPMNPlane id="BPMNPlane_0vshbk0" bpmnElement="Activity_1t8wi0r">
<bpmndi:BPMNShape id="BPMNShape_0mfcyj5" bpmnElement="Event_1d1g2t6">
<dc:Bounds x="72" y="252" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0evp782" bpmnElement="Activity_1tnzb4e">
<dc:Bounds x="350" y="230" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0qiqfx2" bpmnElement="Event_1bwp33i">
<dc:Bounds x="702" y="252" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1o6g6ax" bpmnElement="Activity_00wqw7u">
<dc:Bounds x="530" y="230" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_1meefy4" bpmnElement="Activity_1wuxaq1">
<dc:Bounds x="170" y="230" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_0oq708i" bpmnElement="Flow_1a3nz0q">
<di:waypoint x="108" y="270" />
<di:waypoint x="170" y="270" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0ly3qyh" bpmnElement="Flow_14d1zey">
<di:waypoint x="270" y="270" />
<di:waypoint x="350" y="270" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_0r6rqrw" bpmnElement="Flow_1u7h5vu">
<di:waypoint x="450" y="270" />
<di:waypoint x="530" y="270" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_09nyysd" bpmnElement="Flow_1gx63tj">
<di:waypoint x="630" y="270" />
<di:waypoint x="702" y="270" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>