need to filter on process here, or a DMN with the same name will obscure the BPMN.

This commit is contained in:
Dan 2022-11-15 16:19:52 -05:00
parent 221dea4bac
commit 1b75ef2245
1 changed files with 3 additions and 1 deletions

View File

@ -703,6 +703,8 @@ class ProcessInstanceProcessor:
spec_reference = SpecReferenceCache.query.filter_by(
identifier=bpmn_process_identifier
).filter_by(
type='process'
).first()
bpmn_file_full_path = None
if spec_reference is None:
@ -1019,7 +1021,7 @@ class ProcessInstanceProcessor:
spiff_logger = logging.getLogger("spiff")
for handler in spiff_logger.handlers:
if hasattr(handler, "bulk_insert_logs"):
handler.bulk_insert_logs() # type: ignore
handler.bulk_insert_logs() # type: ignoreidentifier
db.session.commit()
except WorkflowTaskExecException as we: