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-25 05:36:39 +00:00
parent 714d864b45
commit 352e550784
1 changed files with 2 additions and 5 deletions

View File

@ -324,11 +324,8 @@ isCurrentUser = True</spiffworkflow:preScript>
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
</spiffworkflow:properties>
<spiffworkflow:postScript># Check if commenet field was initialized
if 'commentFinance' not in invoice:
invoice['commentFinance'] = ''
else:
invoice["commentFinance"] = approvalComment
<spiffworkflow:postScript># Check Finance Comment
invoice['commentFinance'] = approvalComment
# Reset Approval Comment
approvalComment = ""