save process instance even it fails w/ burnettk

This commit is contained in:
jasquat 2022-10-18 17:05:18 -04:00
parent d0336039c5
commit fd1a273d3b
1 changed files with 4 additions and 0 deletions

View File

@ -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)