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-14 18:37:52 +00:00
parent f1ec465651
commit 34281e2e81
1 changed files with 6 additions and 3 deletions

View File

@ -656,10 +656,13 @@ __________________________________________________________________________
<bpmn:incoming>Flow_14x1v12</bpmn:incoming>
<bpmn:outgoing>Flow_0umhf4u</bpmn:outgoing>
<bpmn:script># Set who rejected
if not(invoice.isProjectLeadApprove):
task_id = "waku_invoice_rejected-Project_Lead"
else:
if isMatch:
task_id = "waku_invoice_rejected-Finance"
else:
if not(invoice.isProjectLeadApprove):
task_id = "waku_invoice_rejected-Project_Lead"
else:
task_id = "waku_invoice_rejected-Finance"
# Set Message should not be set
isSetMessage = False