User: alex clicked save for manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn

This commit is contained in:
demo 2022-11-24 14:17:20 +00:00
parent 3ba05cdf5c
commit 2683442350
1 changed files with 1 additions and 7 deletions

View File

@ -242,16 +242,10 @@ else:
<bpmn:scriptTask id="Activity_1sixbqq" name="Check Submitter Comment">
<bpmn:incoming>Flow_1avkxpe</bpmn:incoming>
<bpmn:outgoing>Flow_0daehm5</bpmn:outgoing>
<bpmn:script>try:
invoice
except NameError:
invoice = {}
<bpmn:script># Check if commenet field was initialized
if 'commentSubmitter' not in invoice:
invoice['commentSubmitter'] = ''
# Determine length of Submitter's comments
len_submitter_comments = len(invoice["commentSubmitter"].strip())</bpmn:script>
</bpmn:scriptTask>