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-11-16 21:20:19 +00:00
parent c19b44121e
commit 32d2ebd17c
1 changed files with 3 additions and 1 deletions

View File

@ -448,8 +448,10 @@ approvalComment = ""
# Set Invoice Status
if isInvoiceApproved:
invoice["invoiceStatus"] = "Approved by Finance Team"
invoice["isFinanceApprove"] = True
else:
invoice["invoiceStatus"] = "Rejected by Finance Team"</bpmn:script>
invoice["invoiceStatus"] = "Rejected by Finance Team"
invoice["isFinanceApprove"] = False</bpmn:script>
</bpmn:scriptTask>
<bpmn:intermediateCatchEvent id="Event_1lh7308" name="Jon&#39;s Test 3">
<bpmn:incoming>Flow_02v6lr2</bpmn:incoming>