diff --git a/SpiffWorkflow/spiff/serializer/config.py b/SpiffWorkflow/spiff/serializer/config.py index cf28fe08..365254b6 100644 --- a/SpiffWorkflow/spiff/serializer/config.py +++ b/SpiffWorkflow/spiff/serializer/config.py @@ -109,6 +109,7 @@ SPIFF_CONFIG[TransactionSubprocess] = SubWorkflowTaskConverter SPIFF_CONFIG[ParallelMultiInstanceTask] = SpiffMultiInstanceConverter SPIFF_CONFIG[SequentialMultiInstanceTask] = SpiffMultiInstanceConverter +SPIFF_CONFIG[StandardLoopTask] = StandardLoopTaskConverter SPIFF_CONFIG[MessageEventDefinition] = MessageEventDefinitionConverter SPIFF_CONFIG[SignalEventDefinition] = ItemAwareEventDefinitionConverter SPIFF_CONFIG[ErrorEventDefinition] = ErrorEscalationEventDefinitionConverter diff --git a/SpiffWorkflow/spiff/serializer/task_spec.py b/SpiffWorkflow/spiff/serializer/task_spec.py index 30aa4f4b..bef19d19 100644 --- a/SpiffWorkflow/spiff/serializer/task_spec.py +++ b/SpiffWorkflow/spiff/serializer/task_spec.py @@ -106,7 +106,7 @@ def from_dict(self, dct): class StandardLoopTaskConverter(SpiffBpmnTaskConverter): def to_dict(self, spec): - dct = self.get_default_attributes(spec) + dct = super().to_dict(spec) dct.update(self.get_standard_loop_attributes(spec)) return dct