save process instance even it fails w/ burnettk
This commit is contained in:
parent
d0336039c5
commit
fd1a273d3b
|
@ -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…
Reference in New Issue