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
This commit is contained in:
burnettk 2023-01-04 08:28:48 -05:00
parent 2505de7027
commit 7280cc5ea5
1 changed files with 1 additions and 1 deletions

View File

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