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 21:59:45 +00:00
parent ce48cd0528
commit f6e19efc85
1 changed files with 5 additions and 1 deletions

View File

@ -654,7 +654,11 @@ __________________________________________________________________________
<bpmn:scriptTask id="Activity_04kw0jc" name="Set Which Message" scriptFormat="python">
<bpmn:incoming>Flow_14x1v12</bpmn:incoming>
<bpmn:outgoing>Flow_0umhf4u</bpmn:outgoing>
<bpmn:script># Set which message
<bpmn:script># Check if there are Project Lead and/or Finance comments
len_project_lead_comments = len(invoice["commentsProjectLead"].strip())
len_finance_comments = len(invoice["commentsFinance"].strip())
# Set which message
if isApprovalTimer:
task_id = "waku_no_team_lead_response"
else: