diff --git a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn index a7d36c24..25ef607f 100644 --- a/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn +++ b/manage-procurement/procurement/core-contributor-invoice-management/cc-invoice-approval/cc-invoice-approval-process-v2.bpmn @@ -242,16 +242,10 @@ else: Flow_1avkxpe Flow_0daehm5 - try: - invoice -except NameError: - invoice = {} - + # 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())