mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-20 11:48:21 +00:00
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
fb3ba102f7
commit
f0d4b1960f
@ -544,6 +544,21 @@ __________________________________________________________________________
|
||||
</bpmn:timerEventDefinition>
|
||||
</bpmn:intermediateCatchEvent>
|
||||
<bpmn:subProcess id="Activity_0rae8g6" name="Waku Message: Invoice Rejected">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:preScript># Check if there are Project Lead and/or Finance comments
|
||||
is isMatch:
|
||||
len_finance_comments = len(invoice["commentsFinance"].strip())
|
||||
len_project_lead_comments = 0
|
||||
else:
|
||||
len_finance_comments = len(invoice["commentsFinance"].strip())
|
||||
len_project_lead_comments = len(invoice["commentsProjectLead"].strip())
|
||||
|
||||
# Set which message
|
||||
if isApprovalTimer:
|
||||
task_id = "waku_no_team_lead_response"
|
||||
else:
|
||||
task_id = "waku_invoice_rejected"</spiffworkflow:preScript>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0bfs2xe</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0c0c9mw</bpmn:outgoing>
|
||||
<bpmn:dataOutputAssociation id="DataOutputAssociation_0b96bb7">
|
||||
|
Loading…
x
Reference in New Issue
Block a user