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:15:25 +00:00
parent 8d51828641
commit ba0323a0c3
1 changed files with 6 additions and 1 deletions

View File

@ -600,7 +600,12 @@ invoice.invoiceStatus = "Approved and Pending Payment"</bpmn:script>
<bpmn:incoming>Flow_09wwily</bpmn:incoming>
<bpmn:outgoing>Flow_02v6lr2</bpmn:outgoing>
<bpmn:script>invoice.commentsFinance = approvalComment
approvalComment = ""</bpmn:script>
approvalComment = ""
# Set Invoice Status
if isInvoiceApproved:
invoice["invoiceStatus"] = "Approved by Finance Team"
else:
invoice["invoiceStatus"] = "Rejected by Finance Team"</bpmn:script>
</bpmn:scriptTask>
<bpmn:intermediateThrowEvent id="Event_15y55nw" name="Invoice is submitted">
<bpmn:documentation>Process milestone should update the process metadata field “milestone reached”</bpmn:documentation>