User: natalia 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-26 14:31:52 +00:00
parent ba0323a0c3
commit 00eedd5e43
1 changed files with 2 additions and 2 deletions

View File

@ -553,14 +553,14 @@ isCurrentUser = False</bpmn:script>
<bpmn:outgoing>Flow_15pzvrr</bpmn:outgoing>
<bpmn:script># Store Team Lead comments elsewhere and clear form comments
if isApprovalTimer:
invoice["commentProjectLead"] = "No action taken within allotted time"
invoice["commentsProjectLead"] = "No action taken within allotted time"
approvalComment = ""
invoice.isProjectLeadApprove = False
isInvoiceApproved = False
# Set Invoice Status
invoice["invoiceStatus"] = "Rejected"
else:
invoice["commentProjectLead"] = approvalComment
invoice["commentsProjectLead"] = approvalComment
approvalComment = ""
invoice.isProjectLeadApprove = isInvoiceApproved
# Set Invoice Status