From ec52e85f048e21673e8d2e81fddb4820c569fd4b Mon Sep 17 00:00:00 2001 From: jasquat Date: Thu, 9 Mar 2023 17:23:08 -0500 Subject: [PATCH] added comment --- .../services/workflow_execution_service.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/workflow_execution_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/workflow_execution_service.py index 89ca9caab..bdd8ebee1 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/workflow_execution_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/workflow_execution_service.py @@ -58,6 +58,10 @@ class TaskModelSavingDelegate(EngineStepDelegate): self.serializer = serializer def should_update_task_model(self) -> bool: + """We need to figure out if we have previously save task info on this process intance. + + Use the bpmn_process_id to do this. + """ return self.process_instance.bpmn_process_id is not None def will_complete_task(self, spiff_task: SpiffTask) -> None: