From 1ee8ba252efe4f28284b61000604e554b4445913 Mon Sep 17 00:00:00 2001 From: jasquat Date: Wed, 29 Mar 2023 16:49:33 -0400 Subject: [PATCH] check if data file value is a string before returning it w/ burnettk --- .../spiffworkflow_backend/services/process_instance_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py index 711ea0d80..0da39886b 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/process_instance_service.py @@ -279,7 +279,8 @@ class ProcessInstanceService: yield (identifier, list_value, list_index) if isinstance(list_value, dict) and len(list_value) == 1: for v in list_value.values(): - yield (identifier, v, list_index) + if isinstance(v, str): + yield (identifier, v, list_index) @classmethod def file_data_models_for_data(