mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-13 19:55:24 +00:00
Merge commit '9781908243408ed221f2b0131a00b8a9612f81f3'
This commit is contained in:
commit
d108c79d26
@ -132,6 +132,8 @@ def get_hacked_up_app_for_script() -> flask.app.Flask:
|
||||
else:
|
||||
raise Exception(f"Could not find {full_process_model_path}")
|
||||
app = create_app()
|
||||
setup_config(app)
|
||||
configure_sentry(app)
|
||||
return app
|
||||
|
||||
|
||||
|
@ -895,6 +895,10 @@ class ProcessInstanceProcessor:
|
||||
except WorkflowTaskExecException as we:
|
||||
raise ApiError.from_workflow_exception("task_error", str(we), we) from we
|
||||
|
||||
finally:
|
||||
if save:
|
||||
self.save()
|
||||
|
||||
def cancel_notify(self) -> None:
|
||||
"""Cancel_notify."""
|
||||
self.__cancel_notify(self.bpmn_process_instance)
|
||||
|
Loading…
x
Reference in New Issue
Block a user