Searching for call activities seems to be working now.
I had the clear_caches in the wrong place previously - fixing.
This commit is contained in:
parent
5cb7dce9de
commit
5c4e633bb2
|
@ -354,7 +354,7 @@ def process_list() -> Any:
|
|||
This includes processes that are not the
|
||||
primary process - helpful for finding possible call activities.
|
||||
"""
|
||||
references = SpecReferenceCache.query.filter_by(type="process")
|
||||
references = SpecReferenceCache.query.filter_by(type="process").all()
|
||||
return SpecReferenceSchema(many=True).dump(references)
|
||||
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ class DataSetupService:
|
|||
current_app.logger.debug("DataSetupService.save_all_process_models() start")
|
||||
failing_process_models = []
|
||||
process_models = ProcessModelService().get_process_models()
|
||||
SpecFileService.clear_caches()
|
||||
for process_model in process_models:
|
||||
current_app.logger.debug(f"Process Model: {process_model.display_name}")
|
||||
SpecFileService.clear_caches()
|
||||
try:
|
||||
refs = SpecFileService.get_references_for_process(process_model)
|
||||
for ref in refs:
|
||||
|
|
Loading…
Reference in New Issue