mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-25 14:15:14 +00:00
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:
parent
ef9dabdfba
commit
d0fa8dfd20
@ -324,12 +324,17 @@ isCurrentUser = True</spiffworkflow:preScript>
|
|||||||
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
|
<spiffworkflow:property name="formJsonSchemaFilename" value="invoice-approval_JSONSchema.json" />
|
||||||
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
|
<spiffworkflow:property name="formUiSchemaFilename" value="invoice-approval_UISchema.json" />
|
||||||
</spiffworkflow:properties>
|
</spiffworkflow:properties>
|
||||||
<spiffworkflow:postScript># Set Finance comments
|
<spiffworkflow:postScript># Check if commenet field was initialized
|
||||||
invoice["commentsFinance"] = approvalComment
|
if 'commentFinance' not in invoice:
|
||||||
|
invoice['commentFinance'] = ''
|
||||||
|
else:
|
||||||
|
invoice["commentFinance"] = approvalComment
|
||||||
|
|
||||||
|
# Reset Approval Comment
|
||||||
approvalComment = ""
|
approvalComment = ""
|
||||||
|
|
||||||
# Check for Finance comments
|
# Check for Finance comments
|
||||||
len_finance_comments = len(invoice["commentsFinance"].strip())
|
len_finance_comments = len(invoice["commentFinance"].strip())
|
||||||
|
|
||||||
# Set Invoice Status
|
# Set Invoice Status
|
||||||
if isInvoiceApproved:
|
if isInvoiceApproved:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user