mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-23 21:28:05 +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
80d981f1f7
commit
ffbadac658
@ -585,11 +585,14 @@ del(userStatusKey)</bpmn:script>
|
||||
<bpmn:incoming>Flow_0yvmfqu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_15pzvrr</bpmn:outgoing>
|
||||
<bpmn:script># Store Team Lead comments elsewhere and clear form comments
|
||||
invoice.commentProjectLead = approvalComment
|
||||
approvalComment = ""
|
||||
|
||||
# Set if Team Lead rejected
|
||||
invoice.isProjectLeadApprove = isInvoiceApproved</bpmn:script>
|
||||
if isApprovalTimer:
|
||||
invoice["commentProjectLead"] = "No action taken within allotted time"
|
||||
approvalComment = ""
|
||||
invoice.isProjectLeadApprove = False
|
||||
else:
|
||||
invoice["commentProjectLead"] = approvalComment
|
||||
approvalComment = ""
|
||||
invoice.isProjectLeadApprove = isInvoiceApproved</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:serviceTask id="Activity_0fq1nb4" name="5. Create Invoice in Xero">
|
||||
<bpmn:extensionElements>
|
||||
|
Loading…
x
Reference in New Issue
Block a user