From 7280cc5ea5663c2f2984a247550c34f4ae759897 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 4 Jan 2023 08:28:48 -0500 Subject: [PATCH] Squashed 'SpiffWorkflow/' changes from 5c4592801..80640024a 80640024a Merge pull request #275 from sartography/bugfix/data-object-error 71a377981 prevent output associations from being removed twice git-subtree-dir: SpiffWorkflow git-subtree-split: 80640024a8030481645f0c34f34c57e88f7b4f0c --- SpiffWorkflow/bpmn/specs/BpmnSpecMixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpiffWorkflow/bpmn/specs/BpmnSpecMixin.py b/SpiffWorkflow/bpmn/specs/BpmnSpecMixin.py index 459a3882..584c4247 100644 --- a/SpiffWorkflow/bpmn/specs/BpmnSpecMixin.py +++ b/SpiffWorkflow/bpmn/specs/BpmnSpecMixin.py @@ -200,7 +200,7 @@ class BpmnSpecMixin(TaskSpec): for obj in self.data_input_associations: # Remove the any copied input variables that might not have already been removed - my_task.data.pop(obj.name) + my_task.data.pop(obj.name, None) super(BpmnSpecMixin, self)._on_complete_hook(my_task) if isinstance(my_task.parent.task_spec, BpmnSpecMixin):