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
7adb1d397b
commit
ce48cd0528
|
@ -654,17 +654,11 @@ __________________________________________________________________________
|
||||||
<bpmn:scriptTask id="Activity_04kw0jc" name="Set Which Message" scriptFormat="python">
|
<bpmn:scriptTask id="Activity_04kw0jc" name="Set Which Message" scriptFormat="python">
|
||||||
<bpmn:incoming>Flow_14x1v12</bpmn:incoming>
|
<bpmn:incoming>Flow_14x1v12</bpmn:incoming>
|
||||||
<bpmn:outgoing>Flow_0umhf4u</bpmn:outgoing>
|
<bpmn:outgoing>Flow_0umhf4u</bpmn:outgoing>
|
||||||
<bpmn:script># Set who rejected
|
<bpmn:script># Set which message
|
||||||
if isMatch:
|
if isApprovalTimer:
|
||||||
task_id = "waku_invoice_rejected-Finance"
|
task_id = "waku_no_team_lead_response"
|
||||||
else:
|
else:
|
||||||
if not(invoice["isProjectLeadApprove"]):
|
task_id = "waku_invoice_rejected"
|
||||||
if isApprovalTimer:
|
|
||||||
task_id = "waku_no_team_lead_response"
|
|
||||||
else:
|
|
||||||
task_id = "waku_invoice_rejected-Project_Lead"
|
|
||||||
else:
|
|
||||||
task_id = "waku_invoice_rejected-Finance"
|
|
||||||
|
|
||||||
# Set Message should not be set
|
# Set Message should not be set
|
||||||
isSetMessage = True
|
isSetMessage = True
|
||||||
|
|
Loading…
Reference in New Issue