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 04:38:41 +00:00
parent 6933f90472
commit 4e18297a3f
1 changed files with 5 additions and 2 deletions

View File

@ -129,7 +129,7 @@
<spiffworkflow:property name="formJsonSchemaFilename" value="Submit-the-invoice_JSONSchema.json" /> <spiffworkflow:property name="formJsonSchemaFilename" value="Submit-the-invoice_JSONSchema.json" />
<spiffworkflow:property name="formUiSchemaFilename" value="Submit-the-invoice_UISchema.json" /> <spiffworkflow:property name="formUiSchemaFilename" value="Submit-the-invoice_UISchema.json" />
</spiffworkflow:properties> </spiffworkflow:properties>
<spiffworkflow:postScript>len_invoice_comments = len(invoice["commentSubmitter"].strip())</spiffworkflow:postScript> <spiffworkflow:postScript></spiffworkflow:postScript>
<spiffworkflow:preScript /> <spiffworkflow:preScript />
</bpmn:extensionElements> </bpmn:extensionElements>
<bpmn:incoming>Flow_17vkjgc</bpmn:incoming> <bpmn:incoming>Flow_17vkjgc</bpmn:incoming>
@ -246,7 +246,10 @@ else:
try: try:
invoice["commentSubmitter"] invoice["commentSubmitter"]
except NameError: except NameError:
invoice["commentSubmitter"] = ""</bpmn:script> invoice["commentSubmitter"] = ""
# Determine length of Submitter's comments
len_submitter_comments = len(invoice["commentSubmitter"].strip())</bpmn:script>
</bpmn:scriptTask> </bpmn:scriptTask>
</bpmn:subProcess> </bpmn:subProcess>
<bpmn:intermediateThrowEvent id="Event_invoice_validation_failed" name="Invoice validation failed"> <bpmn:intermediateThrowEvent id="Event_invoice_validation_failed" name="Invoice validation failed">