need to filter on process here, or a DMN with the same name will obscure the BPMN.
This commit is contained in:
parent
221dea4bac
commit
1b75ef2245
|
@ -703,6 +703,8 @@ class ProcessInstanceProcessor:
|
||||||
|
|
||||||
spec_reference = SpecReferenceCache.query.filter_by(
|
spec_reference = SpecReferenceCache.query.filter_by(
|
||||||
identifier=bpmn_process_identifier
|
identifier=bpmn_process_identifier
|
||||||
|
).filter_by(
|
||||||
|
type='process'
|
||||||
).first()
|
).first()
|
||||||
bpmn_file_full_path = None
|
bpmn_file_full_path = None
|
||||||
if spec_reference is None:
|
if spec_reference is None:
|
||||||
|
@ -1019,7 +1021,7 @@ class ProcessInstanceProcessor:
|
||||||
spiff_logger = logging.getLogger("spiff")
|
spiff_logger = logging.getLogger("spiff")
|
||||||
for handler in spiff_logger.handlers:
|
for handler in spiff_logger.handlers:
|
||||||
if hasattr(handler, "bulk_insert_logs"):
|
if hasattr(handler, "bulk_insert_logs"):
|
||||||
handler.bulk_insert_logs() # type: ignore
|
handler.bulk_insert_logs() # type: ignoreidentifier
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
except WorkflowTaskExecException as we:
|
except WorkflowTaskExecException as we:
|
||||||
|
|
Loading…
Reference in New Issue